Commit 059fc511 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/gnus/smiley.el (smiley-style): Make the file loadable in batch mode.

Not likely to be very useful, of course, but helps with automated testing.
parent 963ea40f
2013-01-16 Glenn Morris <rgm@gnu.org>
* smiley.el (smiley-style): Make the file loadable in batch mode.
2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
 
* nnimap.el (nnimap-keepalive): Don't throw an error if there's no more
......
......@@ -59,7 +59,10 @@
(defcustom smiley-style
(if (or (and (fboundp 'face-attribute)
(>= (face-attribute 'default :height) 160))
;; In batch mode, attributes can be unspecified.
(condition-case nil
(>= (face-attribute 'default :height) 160)
(error nil)))
(and (fboundp 'face-height)
(>= (face-height 'default) 14)))
'medium
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment