diff options
Diffstat (limited to 'lisp/tooltip.el')
-rw-r--r-- | lisp/tooltip.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index a5d0309f125..ffbebf06245 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el @@ -273,7 +273,7 @@ is based on the current syntax table." (defmacro tooltip-region-active-p () "Value is non-nil if the region is currently active." - (if (string-match "^GNU" (emacs-version)) + (if (not (featurep 'xemacs)) `(and transient-mark-mode mark-active) `(region-active-p))) |