emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/tooltip.el,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/tooltip.el,v
Date: Tue, 25 Dec 2007 22:48:13 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       07/12/25 22:48:13

Index: tooltip.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/tooltip.el,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- tooltip.el  22 Oct 2007 02:37:14 -0000      1.79
+++ tooltip.el  25 Dec 2007 22:48:13 -0000      1.80
@@ -273,9 +273,7 @@
 
 (defmacro tooltip-region-active-p ()
   "Value is non-nil if the region is currently active."
-  (if (not (featurep 'xemacs))
-      `(and transient-mark-mode mark-active)
-    `(region-active-p)))
+  `(use-region-p))
 
 (defun tooltip-expr-to-print (event)
   "Return an expression that should be printed for EVENT.




reply via email to

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