summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-03-01 11:43:39 +0000
committerEli Zaretskii <eliz@gnu.org>2002-03-01 11:43:39 +0000
commit7948c2483add543d8c2500d4eb73899bd35bd8bd (patch)
treeec9ba77fe86e8630376534df46ebec6773e6a113 /lisp/mouse.el
parent1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 (diff)
downloademacs-7948c2483add543d8c2500d4eb73899bd35bd8bd.tar.gz
(mouse-show-mark): Use display-mouse-p, not display-graphic-p,
to decide whether to move point or use the highlighting.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 9ac786a5cb7..9d9bee17005 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -1007,7 +1007,7 @@ If DIR is positive skip forward; if negative, skip backward."
(defun mouse-show-mark ()
(if transient-mark-mode
(delete-overlay mouse-drag-overlay)
- (if (not (display-graphic-p))
+ (if (not (display-mouse-p))
(save-excursion
(goto-char (mark t))
(sit-for 1))