emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp shadowfile.el


From: Richard M. Stallman
Subject: [Emacs-diffs] emacs/lisp shadowfile.el
Date: Thu, 25 Dec 2008 08:08:13 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       08/12/25 08:08:13

Modified files:
        lisp           : shadowfile.el 

Log message:
        (shadow-copy-file): Revert previous change.
        This code as it was should work properly with buffer-swapped-with.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/shadowfile.el?cvsroot=emacs&r1=1.42&r2=1.43

Patches:
Index: shadowfile.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/shadowfile.el,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- shadowfile.el       22 Dec 2008 20:20:04 -0000      1.42
+++ shadowfile.el       25 Dec 2008 08:08:13 -0000      1.43
@@ -575,13 +575,7 @@
       (set-buffer buffer)
       (condition-case i
          (progn
-           (if buffer-swapped-with
-               (progn
-                 (buffer-swap-text buffer-swapped-with)
-                 (unwind-protect
                      (write-region nil nil to)
-                   (buffer-swap-text buffer-swapped-with)))
-             (write-region nil nil to))
             (shadow-remove-from-todo s))
         (error (message "Shadow %s not updated!" (cdr s)))))))
 




reply via email to

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