mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(emacs-lisp): 'defining as dynamic an already lexical var' error
Fix: #7653
Amend: 3bea4f66a8
This commit is contained in:
@ -228,6 +228,8 @@ See `+emacs-lisp-non-package-mode' for details.")
|
||||
;; expensive functionality, this will often introduce unexpected freezes
|
||||
;; without this advice.
|
||||
;; TODO: PR upstream?
|
||||
(defvar org-inhibit-startup)
|
||||
(defvar org-mode-hook)
|
||||
(defadvice! +emacs-lisp--optimize-org-init-a (fn &rest args)
|
||||
"Disable unrelated functionality to optimize calls to `org-mode'."
|
||||
:around #'elisp-demos--export-json-file
|
||||
|
Reference in New Issue
Block a user