Fix #4745: defining as dynamic an already lexical var
If a dynamic variable is first defined in the same scope where it is lexically bound, you get this error.
This commit is contained in:
parent
f6de662011
commit
5069d95b42
1 changed files with 1 additions and 0 deletions
|
@ -637,6 +637,7 @@ can grow up to be fully-fledged org-mode buffers."
|
||||||
(add-hook 'doom-switch-buffer-hook #'+org--restart-mode-h
|
(add-hook 'doom-switch-buffer-hook #'+org--restart-mode-h
|
||||||
nil 'local)))))
|
nil 'local)))))
|
||||||
|
|
||||||
|
(defvar recentf-exclude)
|
||||||
(defadvice! +org--exclude-agenda-buffers-from-recentf-a (orig-fn file)
|
(defadvice! +org--exclude-agenda-buffers-from-recentf-a (orig-fn file)
|
||||||
"Prevent temporarily opened agenda buffers from polluting recentf."
|
"Prevent temporarily opened agenda buffers from polluting recentf."
|
||||||
:around #'org-get-agenda-file-buffer
|
:around #'org-get-agenda-file-buffer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue