diff options
author | Carl Worth <cworth@cworth.org> | 2010-04-03 12:22:14 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-03 12:31:49 -0700 |
commit | 03588ee710454d4a9da43efa0e8954f70b21327d (patch) | |
tree | 0cf254d321b72728e79cf59f862a8c1a5f64e21f | |
parent | e33b73819a8a1005583cb3de69759172aacf98ba (diff) |
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).
-rw-r--r-- | emacs/notmuch.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 050aacb..f887916 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -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" |