mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user