emacs-devel
[Top][All Lists]
Advanced

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

Re: region-active-p


From: Richard Stallman
Subject: Re: region-active-p
Date: Tue, 23 Oct 2007 03:12:20 -0400

    (defun region-active-p ()
      "..."
      (and zmacs-regions zmacs-region-extent
           (eq (current-buffer) (zmacs-region-buffer))))

When commands in XEmacs call this, do they also test
for a nonempty region?  Or do they operate on the region
when it is empty?

I don't see any need for region-exists-p
unless we want it specifically to run code in Emacs
which was written for XEmacs.




reply via email to

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