diff options
| author | David Bremner <david@tethera.net> | 2021-07-06 22:51:08 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-07-19 08:32:49 -0300 |
| commit | bed62eb8bee4aeca1fabfa5e302b515849f50b31 (patch) | |
| tree | f07fab522d05b42a41937be39dfd29e36f37766d | |
| parent | 1a7f9fe055fb40b9646bb8efac107601009723bd (diff) | |
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.
| -rw-r--r-- | emacs/notmuch-tree.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index b288c05d..eb7ea941 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -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. |
