emacs-devel
[Top][All Lists]
Advanced

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

region-active-p


From: Andreas Röhler
Subject: region-active-p
Date: Fri, 19 Oct 2007 11:49:59 +0200
User-agent: KMail/1.9.5

What about to introduce `region-active-p' and/or
`region-exists-p' for

(and mark-active transient-mark-mode)

thus enhancing portability with XEmacs, which I try
here with such a construct:

(or (and (featurep 'xemacs)
         (region-active-p))
    (and 
     mark-active transient-mark-mode))

I'm well aware that behaviour of mark is different in
both Emacsen and thus proceeding of `(and mark-active
transient-mark-mode)' will the not be the same as in
`region-exists-p'. However, in most if not all cases
the result for the user should be comparable and
expected.


Thanks all

Andreas Röhler




reply via email to

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