mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
fix checking whether header is member of message-hidden-headers
Emacs lisp function 'member' takes element and list as an argument. I.e. the second argument is list, not symbol referencing the list. On emacs 23.x the member call always returned nil (thus buggy), on emacs 22.x the call failed, making it unusable.
This commit is contained in:
parent
5dc189c82d
commit
8e2a14bbbb
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ list."
|
||||||
(defun notmuch-mua-add-more-hidden-headers ()
|
(defun notmuch-mua-add-more-hidden-headers ()
|
||||||
"Add some headers to the list that are hidden by default."
|
"Add some headers to the list that are hidden by default."
|
||||||
(mapc (lambda (header)
|
(mapc (lambda (header)
|
||||||
(when (not (member header 'message-hidden-headers))
|
(when (not (member header message-hidden-headers))
|
||||||
(push header message-hidden-headers)))
|
(push header message-hidden-headers)))
|
||||||
notmuch-mua-hidden-headers))
|
notmuch-mua-hidden-headers))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue