changeset 29203:004bedde23fc

(ffap-menu-text-plist): Use display-mouse-p, not window-system. (ffap-highlight): Always default to t.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 25 May 2000 16:56:34 +0000
parents a1854f8baf0c
children d38a98cddcec
files lisp/ffap.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ffap.el	Thu May 25 16:55:17 2000 +0000
+++ b/lisp/ffap.el	Thu May 25 16:56:34 2000 +0000
@@ -1257,7 +1257,7 @@
 ;;
 ;; Based on overlay highlighting in Emacs 19.28 isearch.el.
 
-(defvar ffap-highlight (and window-system t)
+(defvar ffap-highlight t
   "If non-nil, ffap highlights the current buffer substring.")
 
 (defvar ffap-highlight-overlay nil
@@ -1365,8 +1365,8 @@
 
 (defvar ffap-menu-text-plist
   (cond
-   ((not window-system) nil)
-   (t '(face bold mouse-face highlight))) ; keymap <mousy-map>
+   ((display-mouse-p) '(face bold mouse-face highlight)) ; keymap <mousy-map>
+   (t nil))
   "Text properties applied to strings found by `ffap-menu-rescan'.
 These properties may be used to fontify the menu references.")