summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-02-02 16:07:47 +0000
committerEli Zaretskii <eliz@gnu.org>2008-02-02 16:07:47 +0000
commit5e4f40ee64ed5bfcc116f03206c9b32bc0513969 (patch)
treefd286b29906f89fe6866d4c0eaaf23e1080d9551 /lisp/view.el
parent2ee27f27757302bf773ec17b6b6aae00ce751b41 (diff)
downloademacs-5e4f40ee64ed5bfcc116f03206c9b32bc0513969.tar.gz
(kill-buffer-if-not-modified): Add an autoload cookie.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/view.el b/lisp/view.el
index c7a8d3d54c9..f2fdbbe0c59 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -247,6 +247,7 @@ This is local in each buffer, once it is used.")
;; kill a buffer modified by the user. A buffer in view mode can
;; become modified if the user types C-x C-q, edits the buffer, then
;; types C-x C-q again to return to view mode.
+;;;###autoload
(defun kill-buffer-if-not-modified (buf)
"Like `kill-buffer', but does nothing if the buffer is modified."
(let ((buf (get-buffer buf)))