emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch proposal: display symbol source code in help buffers


From: Eli Zaretskii
Subject: Re: Patch proposal: display symbol source code in help buffers
Date: Fri, 01 Oct 2021 10:24:08 +0300

> From: Ihor Radchenko <yantar92@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  Stefan Kangas <stefankangas@gmail.com>,
>   arthur.miller@live.com,  emacs-devel@gnu.org
> Date: Fri, 01 Oct 2021 15:05:57 +0800
> 
> +            ;; Save mark for the old location, unless we just opened
> +            ;; the buffer or the point is not actually going to move.
> +            (unless (or (= 1 (point))
> +                        (= (point) position))
> +              (push-mark nil t))

This assumes that if point is at BOB, we "just opened the buffer"?
What if the user moves point, then returns to BOB?

And why do you use 1 instead of point-min?



reply via email to

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