mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
emacs/tree: use two argument form of setq-local
Apparently the macro setq-local only takes two arguments in Emacs 26.1
This commit is contained in:
parent
09f2ad8e85
commit
48d774bbf4
1 changed files with 4 additions and 4 deletions
|
@ -1451,11 +1451,11 @@ notmuch-tree buffers, just set
|
|||
(unless (derived-mode-p 'notmuch-tree-mode)
|
||||
(user-error "notmuch-tree-outline-mode is only meaningful for notmuch trees!"))
|
||||
(if notmuch-tree-outline-mode
|
||||
(progn (setq-local outline-regexp "^[^\n]+"
|
||||
outline-level #'notmuch-tree-outline--level)
|
||||
(progn (setq-local outline-regexp "^[^\n]+")
|
||||
(setq-local outline-level #'notmuch-tree-outline--level)
|
||||
(notmuch-tree-outline--set-visibility))
|
||||
(setq-local outline-regexp (default-value 'outline-regexp)
|
||||
outline-level (default-value 'outline-level))))
|
||||
(setq-local outline-regexp (default-value 'outline-regexp))
|
||||
(setq-local outline-level (default-value 'outline-level))))
|
||||
|
||||
;;; _
|
||||
|
||||
|
|
Loading…
Reference in a new issue