mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user