emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116862: lisp/vc/vc.el (vc-rollback): Use set-buffer


From: Juanma Barranquero
Subject: [Emacs-diffs] trunk r116862: lisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.
Date: Sun, 23 Mar 2014 18:13:44 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116862
revision-id: address@hidden
parent: address@hidden
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sun 2014-03-23 19:13:35 +0100
message:
  lisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/vc/vc.el                  vc.el-20091113204419-o5vbwnq5f7feedwu-502
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-03-23 17:56:34 +0000
+++ b/lisp/ChangeLog    2014-03-23 18:13:35 +0000
@@ -1,3 +1,7 @@
+2014-03-23  Juanma Barranquero  <address@hidden>
+
+       * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
+
 2014-03-23  Daniel Colascione  <address@hidden>
 
        Change subword-mode to use `find-word-boundary-function-table' and

=== modified file 'lisp/vc/vc.el'
--- a/lisp/vc/vc.el     2014-01-01 07:43:34 +0000
+++ b/lisp/vc/vc.el     2014-03-23 18:13:35 +0000
@@ -2450,7 +2450,7 @@
        (error "Please revert all modified workfiles before rollback")))
     ;; Accumulate changes associated with the fileset
     (vc-setup-buffer "*vc-diff*")
-    (not-modified)
+    (set-buffer-modified-p nil)
     (message "Finding changes...")
     (let* ((tip (vc-working-revision (car files)))
            ;; FIXME: `previous-revision' should take the fileset.


reply via email to

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