Commit 71dffedd authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(tooltip-region-active-p): Use `use-region-p'.

parent 47757c74
......@@ -273,9 +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 (not (featurep 'xemacs))
`(and transient-mark-mode mark-active)
(defun tooltip-expr-to-print (event)
"Return an expression that should be printed for EVENT.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment