mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: Fix `notmuch-user-other-email' when no other emails are configured
Thanks to the previous patch, this no longer crashes in this situation, but now would return (""). Fix it to return () when no emails are configured.
This commit is contained in:
parent
4b734374fb
commit
4b2ec627eb
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ on the command line, and then retry your notmuch command")))
|
|||
|
||||
(defun notmuch-user-other-email ()
|
||||
"Return the user.other_email value (as a list) from the notmuch configuration."
|
||||
(split-string (notmuch-config-get "user.other_email") "\n"))
|
||||
(split-string (notmuch-config-get "user.other_email") "\n" t))
|
||||
|
||||
(defun notmuch-poll ()
|
||||
"Run \"notmuch new\" or an external script to import mail.
|
||||
|
|
Loading…
Reference in a new issue