changeset 30554:e56649429a8b

(ebrowse-tree-mode-map): Use display-mouse-p instead of window-system. (ebrowse-member-mode-map): Ditto.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 02 Aug 2000 07:37:22 +0000
parents cb0e05fafd49
children 5538fe582260
files lisp/progmodes/ebrowse.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/ebrowse.el	Tue Aug 01 19:58:35 2000 +0000
+++ b/lisp/progmodes/ebrowse.el	Wed Aug 02 07:37:22 2000 +0000
@@ -1061,7 +1061,7 @@
     (setf ebrowse-tree-mode-map map)
     (suppress-keymap map)
 
-    (when window-system
+    (when (display-mouse-p)
       (define-key map [down-mouse-3] 'ebrowse-mouse-3-in-tree-buffer)
       (define-key map [mouse-2] 'ebrowse-mouse-2-in-tree-buffer)
       (define-key map [down-mouse-1] 'ebrowse-mouse-1-in-tree-buffer))
@@ -2160,7 +2160,7 @@
     (setf ebrowse-member-mode-map map)
     (suppress-keymap map)
 
-  (when window-system
+  (when (display-mouse-p)
     (define-key map [down-mouse-3] 'ebrowse-member-mouse-3)
     (define-key map [mouse-2] 'ebrowse-member-mouse-2))