Ensure doom--current-module is set
When evaluating elisp code through feature/eval's commands (e.g. gr/gR).
This commit is contained in:
parent
8604c0bbad
commit
0872b29767
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue