diff options
author | Pieter Praet <pieter@praet.org> | 2012-01-16 11:56:40 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-01-21 08:17:56 -0400 |
commit | 046f5dded2a113d80e55288aaa1659a6843dafa3 (patch) | |
tree | 1fabcced2607cf113d3d6e46561956301cba7312 /emacs/notmuch-address.el | |
parent | a56e6603c604cbe010a520c9084e0ad2895755d9 (diff) |
emacs: globally replace non-branching "(if (not ..." with "(unless ..."
Less code, same results, without sacrificing readability.
Diffstat (limited to 'emacs/notmuch-address.el')
-rw-r--r-- | emacs/notmuch-address.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el index 2e8b8402..2bf762ba 100644 --- a/emacs/notmuch-address.el +++ b/emacs/notmuch-address.el @@ -38,9 +38,9 @@ line." (defvar notmuch-address-history nil) (defun notmuch-address-message-insinuate () - (if (not (memq notmuch-address-message-alist-member message-completion-alist)) - (setq message-completion-alist - (push notmuch-address-message-alist-member message-completion-alist)))) + (unless (memq notmuch-address-message-alist-member message-completion-alist) + (setq message-completion-alist + (push notmuch-address-message-alist-member message-completion-alist)))) (defun notmuch-address-options (original) (process-lines notmuch-address-command original)) |