emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/vc.el


From: Andre Spiegel
Subject: [Emacs-diffs] Changes to emacs/lisp/vc.el
Date: Thu, 28 Feb 2002 04:59:08 -0500

Index: emacs/lisp/vc.el
diff -c emacs/lisp/vc.el:1.327 emacs/lisp/vc.el:1.328
*** emacs/lisp/vc.el:1.327      Mon Feb 25 17:00:51 2002
--- emacs/lisp/vc.el    Thu Feb 28 04:59:08 2002
***************
*** 6,12 ****
  ;; Maintainer: Andre Spiegel <address@hidden>
  ;; Keywords: tools
  
! ;; $Id: vc.el,v 1.327 2002/02/25 22:00:51 spiegel Exp $
  
  ;; This file is part of GNU Emacs.
  
--- 6,12 ----
  ;; Maintainer: Andre Spiegel <address@hidden>
  ;; Keywords: tools
  
! ;; $Id: vc.el,v 1.328 2002/02/28 09:59:08 spiegel Exp $
  
  ;; This file is part of GNU Emacs.
  
***************
*** 2538,2543 ****
--- 2538,2546 ----
  changes found in the master file; use \\[universal-argument] 
\\[vc-next-action] to do so."
    (interactive)
    (vc-ensure-vc-buffer)
+   ;; Make sure buffer is saved.  If the user says `no', abort since
+   ;; we cannot show the changes and ask for confirmation to discard them.
+   (vc-buffer-sync nil)
    (let ((file buffer-file-name)
        ;; This operation should always ask for confirmation.
        (vc-suppress-confirm nil)



reply via email to

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