]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-address.el
emacs: avoid unnecessary let-bindings
[notmuch] / emacs / notmuch-address.el
index 1f22e37710d303ecf8febd7a2a1ebfe5c0fe0fdf..f313c4152c7b58a6754e349170884eb85447a638 100644 (file)
@@ -260,8 +260,8 @@ requiring external commands."
 ;;; Harvest
 
 (defun notmuch-address-harvest-addr (result)
-  (let ((name-addr (plist-get result :name-addr)))
-    (puthash name-addr t notmuch-address-completions)))
+  (puthash (plist-get result :name-addr)
+          t notmuch-address-completions))
 
 (defun notmuch-address-harvest-filter (proc string)
   (when (buffer-live-p (process-buffer proc))