X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/94cc397c541f50af6b049af6c42806daa2be2709..d9a3d80e56e26f65ca3b35b242436a2b16dbf535:/lisp/view.el diff --git a/lisp/view.el b/lisp/view.el index c7a8d3d54c..1d2078a4bb 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -9,10 +9,10 @@ ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify +;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,9 +20,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Commentary: @@ -247,6 +245,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))) @@ -1099,5 +1098,5 @@ If TIMES is negative, search backwards." (provide 'view) -;;; arch-tag: 6d0ace36-1d12-4de3-8de3-1fa3231636d7 +;; arch-tag: 6d0ace36-1d12-4de3-8de3-1fa3231636d7 ;;; view.el ends here