# HG changeset patch # User Roland McGrath # Date 790167560 0 # Node ID 3499c4e1e82f717416eb04b004bf7d3d9e01857c # Parent c37ee605ba79f25dfe1b5aa6fb671e78eba9d78d (not-modified): Doc fix. diff -r c37ee605ba79 -r 3499c4e1e82f lisp/files.el --- 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"))