emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/view.el,v [EMACS_22_BASE]


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/view.el,v [EMACS_22_BASE]
Date: Fri, 25 Jan 2008 04:39:51 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       08/01/25 04:39:51

Index: view.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/view.el,v
retrieving revision 1.84.2.9
retrieving revision 1.84.2.10
diff -u -b -r1.84.2.9 -r1.84.2.10
--- view.el     19 Jan 2008 14:04:35 -0000      1.84.2.9
+++ view.el     25 Jan 2008 04:39:51 -0000      1.84.2.10
@@ -244,7 +244,7 @@
 ;; types C-x C-q again to return to view mode.
 (defun kill-buffer-if-not-modified (buf)
   "Like `kill-buffer', but does nothing if the buffer is modified."
-  (let ((buf (or (bufferp buf) (get-buffer buf))))
+  (let ((buf (get-buffer buf)))
     (and buf (not (buffer-modified-p buf))
         (kill-buffer buf))))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]