From 820f857f17ff804fc0ce844d9c6d836a0875d06b Mon Sep 17 00:00:00 2001 From: yoichi Date: Sun, 4 Jul 2004 02:53:02 +0000 Subject: [PATCH] * riece-commands.el (riece-command-complete-user): current-word can return nil (follow the change in emacs-cvs). --- lisp/ChangeLog | 5 +++++ lisp/riece-commands.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01c2e94..7c987f9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-07-04 Yoichi NAKAYAMA + + * riece-commands.el (riece-command-complete-user): current-word + can return nil (follow the change in emacs-cvs). + 2004-07-01 Daiki Ueno * riece.el (riece-exit): Clear signal-slots. diff --git a/lisp/riece-commands.el b/lisp/riece-commands.el index 22d2755..dc8ac18 100644 --- a/lisp/riece-commands.el +++ b/lisp/riece-commands.el @@ -668,7 +668,7 @@ If prefix argument ARG is non-nil, toggle frozen status." (list (riece-format-identity user t))) (riece-get-users-on-server (riece-current-server-name)))) - (current (current-word)) + (current (or (current-word) "")) (completion (try-completion current table)) (all (all-completions current table))) (if (eq completion t) -- 1.7.10.4