emacs-devel
[Top][All Lists]
Advanced

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

Re: Mark position from C


From: Po Lu
Subject: Re: Mark position from C
Date: Thu, 16 Feb 2023 09:24:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> marker_position (BVAR (current_buffer, mark)) is it.  Why does it look
> wrong to you?

What if the buffer's mark marker does not point into a buffer, or points
into the wrong buffer (is the latter even possible?)

> And why do you need the first condition?

Sorry, that should've been

  XMARKER (BVAR (current_buffer, mark))->buffer


reply via email to

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