aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen1996-07-06 02:05:22 +0000
committerLars Magne Ingebrigtsen1996-07-06 02:05:22 +0000
commit211f2f722b411d53a1ddf9dc78aedfa6137a3ef2 (patch)
tree1f196974c568f4706c054b98256bbb1ea49a0a46
parent007a03bfc862495ec73d3a31634f4a0702acce3a (diff)
downloademacs-211f2f722b411d53a1ddf9dc78aedfa6137a3ef2.tar.gz
emacs-211f2f722b411d53a1ddf9dc78aedfa6137a3ef2.zip
* gnus-cus.el (()): Make sure that calling `gnus-visual-p' during
byte-compilation doesn't bug out.
-rw-r--r--lisp/gnus-cus.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/gnus-cus.el b/lisp/gnus-cus.el
index 12472e28c02..78ef0d71e3b 100644
--- a/lisp/gnus-cus.el
+++ b/lisp/gnus-cus.el
@@ -108,11 +108,13 @@ Face used for group or summary buffer mouse highlighting.
108The line beneath the mouse pointer will be highlighted with this 108The line beneath the mouse pointer will be highlighted with this
109face.") 109face.")
110 (name . gnus-mouse-face) 110 (name . gnus-mouse-face)
111 (calculate . (if (gnus-visual-p 'mouse-face 'highlight) 111 (calculate . (condition-case ()
112 (if (boundp 'gnus-mouse-face) 112 (if (gnus-visual-p 'mouse-face 'highlight)
113 gnus-mouse-face 113 (if (boundp 'gnus-mouse-face)
114 'highlight) 114 gnus-mouse-face
115 'default)) 115 'highlight)
116 'default))
117 (error 'default))
116 (type . face)) 118 (type . face))
117 ((tag . "Article Display") 119 ((tag . "Article Display")
118 (doc . "Controls how the article buffer will look. 120 (doc . "Controls how the article buffer will look.