From: Roland McGrath Date: Sun, 15 Jan 1995 10:59:20 +0000 (+0000) Subject: (not-modified): Doc fix. X-Git-Tag: emacs-19.34~5428 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/a641f9a11ecd48164bbaf73f2b4c51277cd73979 (not-modified): Doc fix. --- diff --git a/lisp/files.el b/lisp/files.el index f5ab60998e..35a43d9ed6 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1,6 +1,6 @@ ;;; files.el --- file input and output commands for Emacs -;; Copyright (C) 1985, 86, 87, 92, 93, 94 Free Software Foundation, Inc. +;; Copyright (C) 1985, 86, 87, 92, 93, 94, 1995 Free Software Foundation, Inc. ;; Maintainer: FSF @@ -1796,7 +1796,10 @@ Optional second argument EXITING means ask about certain non-file buffers (defun not-modified (&optional arg) "Mark current buffer as unmodified, not needing to be saved. -With prefix arg, mark buffer as modified, so \\[save-buffer] will save." +With prefix arg, mark buffer as modified, so \\[save-buffer] will save. + +It is not a good idea to use this function in Lisp programs, because it +prints a message in the minibuffer. Instead, use `set-buffer-modified-p'." (interactive "P") (message (if arg "Modification-flag set" "Modification-flag cleared"))