[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Mon, 14 Nov 2005 17:19:29 -0500 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.793 emacs/lisp/files.el:1.794
*** emacs/lisp/files.el:1.793 Fri Oct 28 16:20:12 2005
--- emacs/lisp/files.el Mon Nov 14 22:19:28 2005
***************
*** 2717,2723 ****
(and buffer-file-name
(file-writable-p buffer-file-name)
(setq buffer-read-only nil))
! (save-buffer))
(defun backup-buffer ()
"Make a backup of the disk file visited by the current buffer, if
appropriate.
--- 2717,2726 ----
(and buffer-file-name
(file-writable-p buffer-file-name)
(setq buffer-read-only nil))
! (save-buffer)
! ;; It's likely that the VC status at the new location is different from
! ;; the one at the old location.
! (vc-find-file-hook))
(defun backup-buffer ()
"Make a backup of the disk file visited by the current buffer, if
appropriate.
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Stefan Monnier <=