From: ueno Date: Tue, 27 May 2008 02:57:41 +0000 (+0000) Subject: (riece-update-status-indicators): Don't update X-Git-Tag: riece-5_0_0~25 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9b7ef7b0bf6f278158a45dcefc42fad4088e8f94;p=elisp%2Friece.git (riece-update-status-indicators): Don't update riece-user-indicator if riece-real-nickname is not fixed. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8871e6d..20c79ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-05-27 Daiki Ueno + * riece-display.el (riece-update-status-indicators): Don't update + riece-user-indicator if riece-real-nickname is not fixed. + * COMPILE (riece-icons): Re-order filenames. * Makefile.am (EXTRA_DIST): Add new toolbar icons. diff --git a/lisp/riece-display.el b/lisp/riece-display.el index 96c32ff..3cd8f72 100644 --- a/lisp/riece-display.el +++ b/lisp/riece-display.el @@ -348,10 +348,13 @@ Local to the buffer in `riece-buffer-list'.") (riece-user-get-operator riece-real-nickname)) "O" "-") - riece-user-indicator - (riece-format-identity - (riece-make-identity riece-real-nickname riece-server-name) - t)))))) + ) + (if riece-real-nickname + (setq riece-user-indicator + (riece-format-identity + (riece-make-identity riece-real-nickname + riece-server-name) + t))))))) (walk-windows (lambda (window) (with-current-buffer (window-buffer window)