diff options
| author | Eli Zaretskii | 2002-03-01 11:43:39 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-01 11:43:39 +0000 |
| commit | 7948c2483add543d8c2500d4eb73899bd35bd8bd (patch) | |
| tree | ec9ba77fe86e8630376534df46ebec6773e6a113 | |
| parent | 1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 (diff) | |
| download | emacs-7948c2483add543d8c2500d4eb73899bd35bd8bd.tar.gz emacs-7948c2483add543d8c2500d4eb73899bd35bd8bd.zip | |
(mouse-show-mark): Use display-mouse-p, not display-graphic-p,
to decide whether to move point or use the highlighting.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mouse.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4af5ae71ad..7097d45e1f3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * mouse.el (mouse-show-mark): Use display-mouse-p, not | ||
| 4 | display-graphic-p, to decide whether to move point or use the | ||
| 5 | highlighting. | ||
| 6 | |||
| 1 | 2002-02-28 Colin Walters <walters@verbum.org> | 7 | 2002-02-28 Colin Walters <walters@verbum.org> |
| 2 | 8 | ||
| 3 | * eshell/esh-var.el (eshell-parse-variable-ref): Use | 9 | * eshell/esh-var.el (eshell-parse-variable-ref): Use |
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." | |||
| 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)) |