[Top][All Lists]

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

XEmacs-sensitive code in tooltip.el?

From: David Kastrup
Subject: XEmacs-sensitive code in tooltip.el?
Date: Mon, 22 Oct 2007 16:31:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

I have seen the following patch recently:

diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index a5d0309..ffbebf0 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)
Is this not utterly pointless?  As far as I can see, the whole of
tooltip.el is very much Emacs-specific and doesn't have any chance
whatsoever for running on XEmacs.  Or am I mistaken about that?

David Kastrup

reply via email to

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