[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc.el,v
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc.el,v |
Date: |
Sun, 05 Aug 2007 21:46:01 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Jason Rumney <jasonr> 07/08/05 21:46:00
Index: vc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc.el,v
retrieving revision 1.447
retrieving revision 1.448
diff -u -b -r1.447 -r1.448
--- vc.el 1 Aug 2007 17:13:42 -0000 1.447
+++ vc.el 5 Aug 2007 21:46:00 -0000 1.448
@@ -2636,6 +2636,9 @@
(message "Reverting %s...done" file)))
;;;###autoload
+(define-obsolete-function-alias 'vc-revert-buffer 'vc-revert "23.1")
+
+;;;###autoload
(defun vc-update ()
"Update the current buffer's file to the latest version on its branch.
If the file contains no changes, and is not locked, then this simply replaces
@@ -2718,8 +2721,9 @@
(vc-resynch-buffer file t t))
;;;###autoload
-(defun vc-rollback ()
- "Get rid of most recently checked in version of this file."
+(defun vc-rollback (&optional norevert)
+ "Get rid of most recently checked in version of this file.
+A prefix argument NOREVERT means do not revert the buffer afterwards."
(interactive "P")
(vc-ensure-vc-buffer)
(let* ((file buffer-file-name)
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Dan Nicolaescu, 2007/08/01
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v,
Jason Rumney <=
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Stefan Monnier, 2007/08/06
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Miles Bader, 2007/08/13
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Stefan Monnier, 2007/08/23
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Dan Nicolaescu, 2007/08/25
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Miles Bader, 2007/08/27