diff options
author | Yuuki Harano <masm+github@masm11.me> | 2021-11-11 00:39:53 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2021-11-11 00:39:53 +0900 |
commit | 4dd1f56f29fc598a8339a345c2f8945250600602 (patch) | |
tree | af341efedffe027e533b1bcc0dbf270532e48285 /lisp/erc/erc-ibuffer.el | |
parent | 4c49ec7f865bdad1629d2f125f71f4e506b258f2 (diff) | |
parent | 810fa21d26453f898de9747ece7205dfe6de9d08 (diff) | |
download | emacs-4dd1f56f29fc598a8339a345c2f8945250600602.tar.gz emacs-4dd1f56f29fc598a8339a345c2f8945250600602.tar.bz2 emacs-4dd1f56f29fc598a8339a345c2f8945250600602.zip |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'lisp/erc/erc-ibuffer.el')
-rw-r--r-- | lisp/erc/erc-ibuffer.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/erc/erc-ibuffer.el b/lisp/erc/erc-ibuffer.el index 22336ede219..95eab040449 100644 --- a/lisp/erc/erc-ibuffer.el +++ b/lisp/erc/erc-ibuffer.el @@ -38,17 +38,16 @@ :group 'erc) (defcustom erc-ibuffer-keyword-char ?k - "Char used to indicate a channel which had keyword traffic lately (hidden)." + "Char indicating a channel which had keyword traffic lately (hidden)." :type 'character) (defcustom erc-ibuffer-pal-char ?p - "Char used to indicate a channel which had pal traffic lately (hidden)." + "Char indicating a channel which had pal traffic lately (hidden)." :type 'character) (defcustom erc-ibuffer-fool-char ?f - "Char used to indicate a channel which had fool traffic lately (hidden)." + "Char indicating a channel which had fool traffic lately (hidden)." :type 'character) (defcustom erc-ibuffer-dangerous-host-char ?d - "Char used to indicate a channel which had dangerous-host traffic lately -\(hidden)." + "Char indicating a channel which had dangerous-host traffic lately (hidden)." :type 'character) (define-ibuffer-filter erc-server @@ -73,7 +72,7 @@ erc-track-mode) (let ((entry (assq (current-buffer) erc-modified-channels-alist))) (if entry - (if (> (length entry) 1) + (if (cdr entry) (cond ((eq 'pal (nth 1 entry)) (string erc-ibuffer-pal-char)) ((eq 'fool (nth 1 entry)) |