only when riece-button is enabled.
* riece-mini.el: Require 'riece-biff.
(riece-mini-requires): New function.
(riece-mini-show-backlog): Run riece-biff-clear when riece-biff is
enabled.
+2004-09-14 OHASHI Akira <bg66@koka-in.org>
+
+ * riece-log.el (riece-log-flashback): Run riece-button-update-buffer
+ only when riece-button is enabled.
+
+ * riece-mini.el: Require 'riece-biff.
+ (riece-mini-requires): New function.
+ (riece-mini-show-backlog): Run riece-biff-clear when riece-biff is
+ enabled.
+
2004-09-13 OHASHI Akira <bg66@koka-in.org>
* riece-mini.el (riece-mini-show-backlog): Fix for long messages.
(riece-make-identity
(riece-match-string-no-properties 1)
(riece-identity-server identity))))
- (if (memq 'riece-button riece-addons)
- (riece-button-update-buffer))
+ (when (and (memq 'riece-button riece-addons)
+ riece-button-enabled)
+ (riece-button-update-buffer))
(goto-char (point-max))
(set-window-point (get-buffer-window (current-buffer))
(point))))))))
;;; Code:
(require 'riece-message)
+(require 'riece-biff)
(defgroup riece-mini nil
"riece on minibuffer"
(let ((max-mini-window-height height)
(resize-mini-windows t))
(setq riece-mini-backlog-shown t)
+ (when (and (memq 'riece-biff riece-addons)
+ riece-biff-enabled)
+ (riece-biff-clear))
(riece-mini-message-no-log
"%s" (mapconcat #'identity riece-mini-backlog-history "\n"))))))
(setq riece-mini-backlog-shown nil)
(riece-mini-message-no-log ""))))
+(defun riece-mini-requires ()
+ (if (memq 'riece-biff riece-addons)
+ '(riece-biff)))
+
(defun riece-mini-insinuate ()
(add-hook 'riece-after-display-message-functions
'riece-mini-display-message-function)