+2000-04-08 Daiki Ueno <ueno@unixuser.org>
+
+ * liece-xemacs.el (liece-xemacs-setup-toolbar): Run
+ `liece-xemacs-setup-toolbar-hook' only once.
+ (liece-setup-toolbar): Don't check return value
+ of `liece-xemacs-setup-toolbar'.
+ Reported by: Yosuke MITSUMASU <werdna@ntn.org>
+
2000-04-05 Daiki Ueno <ueno@unixuser.org>
* liece-commands.el: Add autoload for liece-command-ctcp-version,
"icon"))))
(when (or force
(not (symbol-value icon)))
- (set icon (liece-toolbar-map-button-list plist)))
- (run-hooks 'liece-xemacs-setup-toolbar-hook))))
+ (set icon (liece-toolbar-map-button-list plist))))
+ (run-hooks 'liece-xemacs-setup-toolbar-hook)))
(add-hook 'liece-xemacs-setup-toolbar-hook 'liece-toolbar-setup-crypt-glyph)
(defun liece-setup-toolbar ()
"Prepare toolbar if wanted."
- (and liece-use-toolbar
- (liece-xemacs-setup-toolbar liece-toolbar-spec-list)
- (set-specifier (symbol-value liece-use-toolbar)
- (cons (current-buffer) liece-toolbar-spec-list))))
+ (when liece-use-toolbar
+ (liece-xemacs-setup-toolbar liece-toolbar-spec-list)
+ (set-specifier (symbol-value liece-use-toolbar)
+ (cons (current-buffer) liece-toolbar-spec-list))))
(defun liece-xemacs-modeline-glyph ()
"Return a glyph of modeline pointer."