diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-08-08 13:49:44 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-08-09 20:53:30 -0300 |
| commit | 99b6e780c8714f90f476e989e2d1cd973cf5bbb9 (patch) | |
| tree | 2fc05b93bd7358b352bee9fad51f663b501f7a5e /emacs/notmuch-lib.el | |
| parent | e1a700067a22214f54064c281219fbbbef87de06 (diff) | |
emacs: Use one or three lines for 'if' forms
Putting the COND and THEN parts on the same line but ELSE on a
separate line makes it harder to determine if there actually is
an ELSE part.
Diffstat (limited to 'emacs/notmuch-lib.el')
| -rw-r--r-- | emacs/notmuch-lib.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index da48bb86..4496ecd2 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -611,7 +611,8 @@ the given type." ,@(and process-crypto '("--decrypt=true")) ,(notmuch-id-to-query (plist-get msg :id)))) (coding-system-for-read - (if binaryp 'no-conversion + (if binaryp + 'no-conversion (let ((coding-system (mm-charset-to-coding-system (plist-get part :content-charset)))) @@ -680,7 +681,8 @@ current buffer, if possible." ;; `gnus-decoded' charset. Otherwise, we'll fetch the binary ;; part content and let mm-* decode it. (let* ((have-content (plist-member part :content)) - (charset (if have-content 'gnus-decoded + (charset (if have-content + 'gnus-decoded (plist-get part :content-charset))) (handle (mm-make-handle (current-buffer) `(,content-type (charset . ,charset))))) |
