mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
feat(emacs-lisp): add +emacs-lisp/change-working-buffer command
This changes what buffer `+emacs-lisp-eval` evaluates elisp in (useful for the :tool eval module's commands, like `+eval/buffer` and `+eval/region`, or the Evil operators on gr/gR). Creates a scratch buffer/org src block alternative to ielm.
This commit is contained in:
parent
e096e7d79e
commit
dddc01982b
2 changed files with 39 additions and 16 deletions
|
|
@ -137,6 +137,7 @@ See `+emacs-lisp-non-package-mode' for details.")
|
|||
|
||||
(map! :localleader
|
||||
:map (emacs-lisp-mode-map lisp-interaction-mode-map)
|
||||
:desc "Set working buffer" "b" #'+emacs-lisp/change-working-buffer
|
||||
:desc "Expand macro" "m" #'macrostep-expand
|
||||
(:prefix ("d" . "debug")
|
||||
"f" #'+emacs-lisp/edebug-instrument-defun-on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue