# HG changeset patch # User Eli Zaretskii # Date 1201968432 0 # Node ID 3e380c491c965d21f2ae275158eda74da52c9301 # Parent 54f9fee16e00471667f1e5375e51c1e96f93694b (kill-buffer-if-not-modified): Add an autoload cookie. diff -r 54f9fee16e00 -r 3e380c491c96 lisp/view.el --- a/lisp/view.el Sat Feb 02 15:49:46 2008 +0000 +++ b/lisp/view.el Sat Feb 02 16:07:12 2008 +0000 @@ -247,6 +247,7 @@ ;; 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)))