Changes committed gnus/lisp (ChangeLog gnus-bookmark.el)

"Katsumi Yamaoka" <[email protected]>
Newsgroups gmane.emacs.gnus.commits
Message-ID <[email protected]>
Modified: ChangeLog gnus-bookmark.el

(gnus-bookmark-mouse-available-p): Don't test for display-color-p.


Index: ChangeLog
diff -u gnus/lisp/ChangeLog:7.1724 gnus/lisp/ChangeLog:7.1725
--- ChangeLog:7.1724	Sun Jan  6 11:24:29 2008
+++ ChangeLog	Tue Jan  8 03:10:54 2008
@@ -1,3 +1,8 @@
+2008-01-08  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-bookmark.el (gnus-bookmark-mouse-available-p): Don't test for
+	display-color-p.  Reported by Reiner Steib <[email protected]>.
+
 2008-01-06  Reiner Steib  <[email protected]>
 
 	* gnus-group.el (gnus-group-gmane-group-download-format): New variable.
Index: gnus-bookmark.el
diff -u gnus/lisp/gnus-bookmark.el:7.10 gnus/lisp/gnus-bookmark.el:7.11
--- gnus-bookmark.el:7.10	Sun Dec  9 01:04:20 2007
+++ gnus-bookmark.el	Tue Jan  8 03:10:54 2008
@@ -174,8 +174,8 @@
 (defmacro gnus-bookmark-mouse-available-p ()
   "Return non-nil if a mouse is available."
   (if (featurep 'xemacs)
-      '(and (eq (device-class) 'color) (device-on-window-system-p))
-    '(and (display-color-p) (display-mouse-p))))
+      '(device-on-window-system-p)
+    '(display-mouse-p)))
 
 (defun gnus-bookmark-remove-properties (string)
   "Remove all text properties from STRING."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.