comparison lisp/mouse.el @ 43610:0897162acd41

(mouse-show-mark): Use display-mouse-p, not display-graphic-p, to decide whether to move point or use the highlighting.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 01 Mar 2002 11:41:00 +0000
parents 7ec99458ed2e
children dc2db86d1fea
comparison
equal deleted inserted replaced
43609:9d5cae2b1268 43610:0897162acd41
1005 "List of keys which shall cause the mouse region to be deleted.") 1005 "List of keys which shall cause the mouse region to be deleted.")
1006 1006
1007 (defun mouse-show-mark () 1007 (defun mouse-show-mark ()
1008 (if transient-mark-mode 1008 (if transient-mark-mode
1009 (delete-overlay mouse-drag-overlay) 1009 (delete-overlay mouse-drag-overlay)
1010 (if (not (display-graphic-p)) 1010 (if (not (display-mouse-p))
1011 (save-excursion 1011 (save-excursion
1012 (goto-char (mark t)) 1012 (goto-char (mark t))
1013 (sit-for 1)) 1013 (sit-for 1))
1014 (let ((inhibit-quit t) 1014 (let ((inhibit-quit t)
1015 (echo-keystrokes 0) 1015 (echo-keystrokes 0)