emacs-devel
[Top][All Lists]
Advanced

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

Mark position from C


From: Po Lu
Subject: Mark position from C
Date: Wed, 15 Feb 2023 19:10:26 +0800

Is there a canonical C function to obtain the position of mark?  Right
now, I'm doing this to compare mark against point, which looks wrong.

      && XMARKER (BVAR (current_buffer, mark))->position
      && marker_position (BVAR (current_buffer,
                                mark)) == PT)


reply via email to

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