mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
emacs: Fix "free variable" warning for notmuch-folder-show-empty.
Emacs really wants us to defvar each variable before assigning to it, (which gives us a place to document the variable as well).
This commit is contained in:
parent
e33b73819a
commit
03588ee710
1 changed files with 2 additions and 1 deletions
|
@ -1733,7 +1733,8 @@ Currently available key bindings:
|
|||
(defun notmuch-folder-count (search)
|
||||
(car (process-lines notmuch-command "count" search)))
|
||||
|
||||
(setq notmuch-folder-show-empty t)
|
||||
(defvar notmuch-folder-show-empty t
|
||||
"Whether `notmuch-folder-mode' should display empty folders.")
|
||||
|
||||
(defun notmuch-folder-show-empty-toggle ()
|
||||
"Toggle the listing of empty folders"
|
||||
|
|
Loading…
Reference in a new issue