Mercurial > emacs
changeset 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 | 9d5cae2b1268 |
children | cfb42be3205d |
files | lisp/mouse.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mouse.el Fri Mar 01 01:47:48 2002 +0000 +++ b/lisp/mouse.el Fri Mar 01 11:41:00 2002 +0000 @@ -1007,7 +1007,7 @@ (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))