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

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

Re: question about buffer mechanism


From: Stefan Monnier
Subject: Re: question about buffer mechanism
Date: Sun, 19 Aug 2018 16:34:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> When I call it on an org link the link at point is opened and when
> my-open-at-point has finished the current buffer is the one pointed by
> the link.

Not sure what you mean by "the current buffer" above, but I suspect you
mean "the buffer that I visually see as being the current one"
(i.e. that corresponds to the buffer of the window that was selected at
the time the display is refreshed).

This is not the definition of `current-buffer`, although the two are
tightly linked in practice by the fact that `current-buffer` is set to
the buffer of the window that is selected at the time a user causes
a command to be run.


        Stefan




reply via email to

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