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: Stefan Monnier
Subject: bug#4936: 23.1.50; Position jumps when saving RCS-versioned files
Date: Mon, 16 Nov 2009 10:29:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

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

That's one way to look at it.

> 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.

You mean "so point is never preserved, not even when file is in the
current-buffer, as was accidentally the case before"?


        Stefan






reply via email to

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