From: Eli Zaretskii Date: Sat, 2 Feb 2008 16:07:47 +0000 (+0000) Subject: (kill-buffer-if-not-modified): Add an autoload cookie. X-Git-Tag: emacs-pretest-23.0.90~8231 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e4f40ee64ed5bfcc116f03206c9b32bc0513969;p=emacs.git (kill-buffer-if-not-modified): Add an autoload cookie. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 729418fa56c..8027adfce38 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-02-02 Eli Zaretskii + + * view.el (kill-buffer-if-not-modified): Add an autoload cookie. + 2008-02-02 Glenn Morris * international/latin1-disp.el (latin1-display): 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)))