refactor(org): name anonymous keybind on RET

Makes it easier to advise, swap, or reference.
This commit is contained in:
Henrik Lissner 2022-02-10 20:21:04 +01:00
parent d499b98c87
commit 9672dbcb5e
2 changed files with 8 additions and 2 deletions

View file

@ -132,6 +132,12 @@
;;
;;; Commands
;;;###autoload
(defun +org/return ()
"Call `org-return' then indent (if `electric-indent-mode' is on)."
(interactive)
(org-return electric-indent-mode))
;;;###autoload
(defun +org/dwim-at-point (&optional arg)
"Do-what-I-mean at point.