'riece-buffer-toggle-freeze signal.
* riece-commands.el (riece-command-toggle-freeze): Emit
'riece-buffer-toggle-freeze signal; don't update status indicators
manually.
(riece-command-toggle-own-freeze): Ditto.
2004-02-27 Daiki Ueno <ueno@unixuser.org>
+ * riece-message.el (riece-display-message-1): Emit
+ 'riece-buffer-toggle-freeze signal.
+
+ * riece-commands.el (riece-command-toggle-freeze): Emit
+ 'riece-buffer-toggle-freeze signal; don't update status indicators
+ manually.
+ (riece-command-toggle-own-freeze): Ditto.
+
* riece-naming.el (riece-naming-assert-join): Rename signal 'join
-> 'riece-naming-assert-join.
(riece-naming-assert-part): Rename signal 'part ->
riece-dialogue-buffer)
(setq riece-freeze (if arg
(< 0 (prefix-numeric-value arg))
- (not riece-freeze))))
- (riece-update-status-indicators)
- (force-mode-line-update t))
+ (not riece-freeze)))
+ (riece-emit-signal (riece-make-signal 'riece-buffer-toggle-freeze
+ (current-buffer) riece-freeze))))
(defun riece-command-toggle-own-freeze (&optional arg)
"Prevent automatic scrolling of the dialogue window.
(not (eq riece-freeze 'own)))
(setq riece-freeze 'own)
(setq riece-freeze nil)))
- (riece-update-status-indicators)
- (force-mode-line-update t))
+ (riece-emit-signal (riece-make-signal 'riece-buffer-toggle-freeze
+ (current-buffer) riece-freeze)))
(eval-when-compile
(autoload 'riece-exit "riece"))
(riece-update-status-indicators)
(force-mode-line-update t))
(lambda (signal)
- (riece-identity-equal (nth 1 (riece-signal-args signal))
+ (riece-identity-equal (car (riece-signal-args signal))
(riece-current-nickname))))
(riece-connect-signal
'riece-user-toggle-operator
(riece-update-status-indicators)
(force-mode-line-update t))
(lambda (signal)
- (riece-identity-equal (nth 1 (riece-signal-args signal))
+ (riece-identity-equal (car (riece-signal-args signal))
(riece-current-nickname))))
(riece-connect-signal
'riece-channel-set-topic
(riece-own-frozen buffer))
(with-current-buffer buffer
(setq riece-freeze nil))
- (riece-update-status-indicators))
+ (riece-emit-signal (riece-make-signal 'riece-buffer-toggle-freeze
+ buffer nil)))
(setq parent-buffers (riece-message-parent-buffers message buffer))
(riece-insert buffer
(concat open-bracket name close-bracket