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

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

Re: what is the point of point-min?


From: Barry Margolin
Subject: Re: what is the point of point-min?
Date: Thu, 28 Aug 2003 17:59:14 GMT

In article <address@hidden>,
Jesper Harder  <address@hidden> wrote:
>Is this the way they work:
>
>(defun region-beginning ()
>  (min (point) (mark)))
>
>(defun region-end ()
>  (max (point) (mark)))

Use the Source, Luke.

>or are there other instances where `region-beginning' is different
>from `point'?

Even if there aren't now, you should allow for the possibility in the
future.

-- 
Barry Margolin, address@hidden
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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