Fix void-function error in doom//reload-autoloads
Don't use a third party library in a function that could potentially run before packages are installed, ya big silly!
This commit is contained in:
parent
a967aa051a
commit
6f1b96bc9a
1 changed files with 2 additions and 1 deletions
|
@ -595,7 +595,8 @@ This should be run whenever init.el or an autoload file is modified. Running
|
|||
(with-current-buffer buf
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^\\s-*(" nil t)
|
||||
(unless (sp-point-in-string-or-comment)
|
||||
(unless (or (nth 4 (syntax-ppss))
|
||||
(nth 3 (syntax-ppss)))
|
||||
;; Replace autoload paths with absolute paths for fastest
|
||||
;; resolution during load
|
||||
(when (eq (sexp-at-point) 'autoload)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue