mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
emacs: Add an accessor function for emacs code to get at user.other_email
This is like the other notmuch-config accessor functions except that it converts the newline-separated string into an actual lisp list.
This commit is contained in:
parent
d84e927091
commit
bc382902c1
1 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,10 @@ the user hasn't set this variable with the old or new value."
|
|||
"Return the user.primary_email value from the notmuch configuration."
|
||||
(notmuch-config-get "user.primary_email"))
|
||||
|
||||
(defun notmuch-user-other-email ()
|
||||
"Return the user.primary_email value (as a list) from the notmuch configuration."
|
||||
(split-string (notmuch-config-get "user.other_email") "\n"))
|
||||
|
||||
(defun notmuch-kill-this-buffer ()
|
||||
"Kill the current buffer."
|
||||
(interactive)
|
||||
|
|
Loading…
Reference in a new issue