Ensure doom--current-module is set

When evaluating elisp code through feature/eval's commands (e.g. gr/gR).
This commit is contained in:
Henrik Lissner 2019-02-24 13:55:57 -05:00
parent 8604c0bbad
commit 0872b29767
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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)