Mercurial > hg > xemacs-beta
diff lisp/cmdloop.el @ 2611:139afe9fb2ee
[xemacs-hg @ 2005-02-23 22:25:15 by adrian]
[PATCH] xemacs-21.5-clean: `region-active-p' to only return t when <zmxwtboa.fsf@smtprelay.t-online.de>
author | adrian |
---|---|
date | Wed, 23 Feb 2005 22:25:16 +0000 |
parents | 0117860e01eb |
children | a25c824ed558 |
line wrap: on
line diff
--- a/lisp/cmdloop.el Wed Feb 23 22:09:15 2005 +0000 +++ b/lisp/cmdloop.el Wed Feb 23 22:25:16 2005 +0000 @@ -72,8 +72,7 @@ If `zmacs-regions' is true, and the zmacs region is active in this buffer, then this key deactivates the region without beeping or signalling." (interactive) - (if (and (region-active-p) - (eq (current-buffer) (zmacs-region-buffer))) + (if (region-active-p) ;; pseudo-zmacs compatibility: don't beep if this ^G is simply ;; deactivating the region. If it is inactive, beep. nil