Unbreak ERC's Ibuffer filter (Bug#44100)
* lisp/erc/erc-ibuffer.el (erc-modified): Don't use `length' on dotted lists (and not even to test if there is more than one element, for that matter). Use `cdr' instead.
This commit is contained in:
parent
61def1e392
commit
75ecce4323
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,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))
|
||||
|
|
Loading…
Add table
Reference in a new issue