|
From: | Kevin Rodgers |
Subject: | Re: what is the point of point-min? |
Date: | Thu, 28 Aug 2003 12:34:35 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Jesper Harder wrote:
Kevin Rodgers <ihs_4664@yahoo.com> writes:Besides the point-min confusion, kill-region should be called with (region-beginning) and (region-end) which usually -- but not always -- correspond to (point) and (mark).Is this the way they work: (defun region-beginning () (min (point) (mark))) (defun region-end () (max (point) (mark))) or are there other instances where `region-beginning' is different from `point'?
That's not how they're implemented (see editfns.c), but the result is the same according to The Region node of the Emacs Lisp manual. -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |