emacs-devel
[Top][All Lists]
Advanced

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

Re: Strange problem with emacs-lisp/copyright.el


From: Lele Gaifax
Subject: Re: Strange problem with emacs-lisp/copyright.el
Date: Sun, 23 Apr 2017 23:00:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Johan Bockgård <address@hidden> writes:

> Lele Gaifax <address@hidden> writes:
>
>> It just saves and restore the point position found by `copyright-find-end': I
>> tried to understand why the `save-excursion' isn't enough, but failed.
>
> Does it work correctly if you change
>
>   (switch-to-buffer (current-buffer))
>   ;; Fixes some point-moving oddness (bug#2209).
>   (save-excursion
>     (y-or-n-p (if replace
>
> to
>
>   (save-excursion
>     (switch-to-buffer (current-buffer))
>     (y-or-n-p (if replace
>
> ?

I will try that and report back. As said, unfortunately I was not able to
reproduce the issue in a deterministic way.

Thank you,
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
address@hidden  |                 -- Fortunato Depero, 1929.




reply via email to

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