changeset 10430:3499c4e1e82f

(not-modified): Doc fix.
author Roland McGrath <roland@gnu.org>
date Sun, 15 Jan 1995 10:59:20 +0000
parents c37ee605ba79
children 7981b19e9028
files lisp/files.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sun Jan 15 09:43:29 1995 +0000
+++ b/lisp/files.el	Sun Jan 15 10:59:20 1995 +0000
@@ -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 @@
 
 (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"))