emacs: remove useless lexically bound variable

A let binding without a value is just an obfuscated way of saying
nil, especially if you are not going to mutate the variable.
This commit is contained in:
David Bremner 2021-07-06 22:51:08 -03:00
parent 1a7f9fe055
commit bed62eb8be

View file

@ -1001,10 +1001,9 @@ message together with all its descendents."
(defun notmuch-tree-insert-forest-thread (forest-thread)
"Insert a single complete thread."
(let (tree-status)
;; Reset at the start of each main thread.
(setq notmuch-tree-previous-subject nil)
(notmuch-tree-insert-thread forest-thread 0 tree-status)))
;; Reset at the start of each main thread.
(setq notmuch-tree-previous-subject nil)
(notmuch-tree-insert-thread forest-thread 0 nil))
(defun notmuch-tree-insert-forest (forest)
"Insert a forest of threads.