From 2f40528c9427af335ab274355682e94867c26fc6 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sat, 28 Jan 2023 12:52:01 -0500 Subject: [PATCH] Experiment with open line and indent --- global.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global.org b/global.org index c491871..a7fddb9 100644 --- a/global.org +++ b/global.org @@ -461,7 +461,8 @@ #+begin_src emacs-lisp (defun open-line-and-indent () (interactive) - (save-excursion (newline-and-indent))) + (save-excursion (newline-and-indent)) + (indent-line)) (global-set-key (kbd "C-o") #'open-line-and-indent) #+end_src