+2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
+ (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
+ Call display-color-p and display-mouse-p instead of looking at
+ window-system.
+
2000-06-06 Dave Love <fx@gnu.org>
* image.el (find-image): Doc fix. Return nil if image not found.
(let ((start (point)))
(prog1
(insert (bookmark-location bookmark)) ; *Return this line*
- (if window-system
+ (if (and (display-color-p) (display-mouse-p))
(put-text-property start
(save-excursion (re-search-backward
"[^ \t]")
(insert " "))
(let ((start (point)))
(insert (bookmark-name-from-full-record full-record))
- (if window-system
+ (if (and (display-color-p) (display-mouse-p))
(put-text-property start
(save-excursion (re-search-backward
"[^ \t]")
(let ((start (save-excursion (end-of-line) (point))))
(move-to-column bookmark-bmenu-file-column t)
;; Strip off `mouse-face' from the white spaces region.
- (if window-system
+ (if (and (display-color-p) (display-mouse-p))
(remove-text-properties start (point)
'(mouse-face))))
(delete-region (point) (progn (end-of-line) (point)))
(bookmark-kill-line)
(let ((start (point)))
(insert (car bookmark-bmenu-hidden-bookmarks))
- (if window-system
+ (if (and (display-color-p) (display-mouse-p))
(put-text-property start
(save-excursion (re-search-backward
"[^ \t]")