mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/eval: autoload +eval-{repls,runners}
Fix void-variable error when, under certain conditions, these variables are referred to before their containing files are loaded.
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
;;
|
;;
|
||||||
;; REPLs
|
;; REPLs
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defvar +eval-repls nil
|
(defvar +eval-repls nil
|
||||||
"An alist mapping major modes to plists that describe REPLs. Used by
|
"An alist mapping major modes to plists that describe REPLs. Used by
|
||||||
`+eval/open-repl' and filled with the `:repl' setting.")
|
`+eval/open-repl' and filled with the `:repl' setting.")
|
||||||
@ -29,6 +30,7 @@ command that will be called interactively."
|
|||||||
;;
|
;;
|
||||||
;; Evaluation
|
;; Evaluation
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defvar +eval-runners nil
|
(defvar +eval-runners nil
|
||||||
"Alist mapping major modes to interactive runner functions.")
|
"Alist mapping major modes to interactive runner functions.")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user