bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4936: 23.1.50; Position jumps when saving RCS-versioned files


From: Dan Nicolaescu
Subject: bug#4936: 23.1.50; Position jumps when saving RCS-versioned files
Date: Mon, 16 Nov 2009 06:29:48 -0800 (PST)

Stefan,

This looks like it's due to your 2009-11-13 change to
`vc-rcs-consult-headers'.

It replaced:
-     (save-excursion
-      (set-buffer (get-file-buffer file))

with:
+      (with-current-buffer (get-file-buffer file)
+        (goto-char (point-min))

So when `file' is in the current buffer the position is not restored.






reply via email to

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