mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
docs(eval): explain DWIM behavior
This commit is contained in:
@ -114,7 +114,10 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun +eval/buffer-or-region ()
|
||||
"Evaluate the whole buffer."
|
||||
"Evaluate the region if it's active, otherwise evaluate the whole buffer.
|
||||
|
||||
If a REPL is open the code will be evaluated in it, otherwise a quickrun
|
||||
runner will be used."
|
||||
(interactive)
|
||||
(call-interactively
|
||||
(if (use-region-p)
|
||||
|
Reference in New Issue
Block a user