diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index 0a21cc4cf..8368b6b53 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -9,7 +9,8 @@ to a pop up buffer." (require 'pp) (let ((result - (let ((debug-on-error t)) + (let ((debug-on-error t) + (doom--current-module (doom-module-from-path buffer-file-name))) (eval (read (concat "(progn " (buffer-substring-no-properties beg end)