aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1995-01-15 10:59:20 +0000
committerRoland McGrath1995-01-15 10:59:20 +0000
commita641f9a11ecd48164bbaf73f2b4c51277cd73979 (patch)
tree1a36fe3a0b308215b468cd6e27d8f86a25d5bd9c
parent230c8b48c8b088f00dbb532635f85769d6c217ea (diff)
downloademacs-a641f9a11ecd48164bbaf73f2b4c51277cd73979.tar.gz
emacs-a641f9a11ecd48164bbaf73f2b4c51277cd73979.zip
(not-modified): Doc fix.
-rw-r--r--lisp/files.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index f5ab60998eb..35a43d9ed6e 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1,6 +1,6 @@
1;;; files.el --- file input and output commands for Emacs 1;;; files.el --- file input and output commands for Emacs
2 2
3;; Copyright (C) 1985, 86, 87, 92, 93, 94 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 86, 87, 92, 93, 94, 1995 Free Software Foundation, Inc.
4 4
5;; Maintainer: FSF 5;; Maintainer: FSF
6 6
@@ -1796,7 +1796,10 @@ Optional second argument EXITING means ask about certain non-file buffers
1796 1796
1797(defun not-modified (&optional arg) 1797(defun not-modified (&optional arg)
1798 "Mark current buffer as unmodified, not needing to be saved. 1798 "Mark current buffer as unmodified, not needing to be saved.
1799With prefix arg, mark buffer as modified, so \\[save-buffer] will save." 1799With prefix arg, mark buffer as modified, so \\[save-buffer] will save.
1800
1801It is not a good idea to use this function in Lisp programs, because it
1802prints a message in the minibuffer. Instead, use `set-buffer-modified-p'."
1800 (interactive "P") 1803 (interactive "P")
1801 (message (if arg "Modification-flag set" 1804 (message (if arg "Modification-flag set"
1802 "Modification-flag cleared")) 1805 "Modification-flag cleared"))