emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Vinicius Jose Latorre
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el,v
Date: Wed, 12 Dec 2007 01:18:28 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Vinicius Jose Latorre <viniciusjl>      07/12/12 01:18:27

Index: files.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/files.el,v
retrieving revision 1.946
retrieving revision 1.947
diff -u -b -r1.946 -r1.947
--- files.el    11 Dec 2007 00:26:52 -0000      1.946
+++ files.el    12 Dec 2007 01:18:26 -0000      1.947
@@ -4204,12 +4204,10 @@
 With a prefix argument, offer to revert from latest auto-save file, if
 that is more recent than the visited file.
 
-This command also implements an interface for special buffers
-that contain text which doesn't come from a file, but reflects
-some other data instead (e.g. Dired buffers, `buffer-list'
-buffers).  This is done via the variable
-`revert-buffer-function'.  In these cases, it should reconstruct
-the buffer contents from the appropriate data.
+This command also works for special buffers that contain text which
+doesn't come from a file, but reflects some other data base instead:
+for example, Dired buffers and `buffer-list' buffers.  In these cases,
+it reconstructs the buffer contents from the appropriate data base.
 
 When called from Lisp, the first argument is IGNORE-AUTO; only offer
 to revert from the auto-save file when this is nil.  Note that the
@@ -4325,11 +4323,7 @@
                           (insert-file-contents file-name (not auto-save-p)
                                                 nil nil t))
                       (insert-file-contents file-name (not auto-save-p)
-                                            nil nil t))
-                    ;; Reset the mark and remove all overlays.
-                    (setq mark-active nil
-                          mark-ring nil)
-                    (remove-overlays))))
+                                            nil nil t)))))
                 ;; Recompute the truename in case changes in symlinks
                 ;; have changed the truename.
                 (setq buffer-file-truename




reply via email to

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