[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/shadowfile.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/shadowfile.el,v |
Date: |
Wed, 28 May 2008 17:35:36 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/05/28 17:35:35
Index: shadowfile.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/shadowfile.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- shadowfile.el 6 May 2008 07:57:49 -0000 1.37
+++ shadowfile.el 28 May 2008 17:35:34 -0000 1.38
@@ -573,13 +573,11 @@
(to (shadow-expand-cluster-in-file-name (cdr s))))
(when buffer
(set-buffer buffer)
- (save-restriction
- (widen)
(condition-case i
(progn
- (write-region (point-min) (point-max) to)
+ (write-region nil nil to)
(shadow-remove-from-todo s))
- (error (message "Shadow %s not updated!" (cdr s))))))))
+ (error (message "Shadow %s not updated!" (cdr s)))))))
(defun shadow-shadows-of (file)
"Return copy operations needed to update FILE.