Fix wrong-type-argument on +emacs-lisp-eval
When using +eval commands in file-less buffers, like the scratch buffer.
This commit is contained in:
parent
93d2a2212d
commit
784ae418da
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ to a pop up buffer."
|
|||
(require 'pp)
|
||||
(let ((result
|
||||
(let ((debug-on-error t)
|
||||
(doom--current-module (doom-module-from-path buffer-file-name)))
|
||||
(doom--current-module (ignore-errors (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