aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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"))