+2005-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-xmas.el (gnus-use-toolbar): Determine the default value
+ according to default-toolbar-visible-p.
+
+ * messagexmas.el (message-use-toolbar): Ditto.
+
2005-11-26 Dave Love <fx@gnu.org>
* tls.el (open-tls-stream): Rename arg SERVICE to PORT.
((eq major-mode 'gnus-summary-mode)
(gnus-xmas-setup-summary-toolbar)))))))
-(defcustom gnus-use-toolbar (if (featurep 'toolbar) 'default)
+(defcustom gnus-use-toolbar
+ (if (and (featurep 'toolbar)
+ (specifier-instance default-toolbar-visible-p))
+ 'default)
"*Position to display the toolbar. Nil means do not use a toolbar.
If it is non-nil, it should be one of the symbols `default', `top',
`bottom', `right', and `left'. `default' means to use the default
If this variable is nil, Message will try to locate the directory
automatically.")
-(defvar message-use-toolbar (if (featurep 'toolbar) 'default)
+(defvar message-use-toolbar
+ (if (and (featurep 'toolbar)
+ (specifier-instance default-toolbar-visible-p))
+ 'default)
"*Position to display the toolbar. Nil means do not use a toolbar.
If it is non-nil, it should be one of the symbols `default', `top',
`bottom', `right', and `left'. `default' means to use the default