]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
rainbow-delimiters for org-edit-special
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 8 Sep 2022 12:15:36 +0000 (14:15 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 8 Sep 2022 12:15:36 +0000 (14:15 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 79526935a9bc3921806f5902abfdaa222a2c2e0a..51012784416ccb83793fa54d729958867f584d31 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1414,6 +1414,17 @@ Get reveal.js as well:
   (define-key org-mode-map "\M-\S-w" 'bba-ox-clip-formatted-copy)
 #+END_SRC
 
+** org-edit-special
+[2022-09-08 Thu 14:00]
+
+For whatever reason rainbow-delimiter was not active in the special
+buffer. SQL is so much better with rainbows.
+
+#+begin_src emacs-lisp
+  (define-advice org-edit-special (:after (&optional arg) my-big-advice)
+    (rainbow-delimiters-mode 1))
+#+end_src
+
 ** comint
 [2022-02-25 Fri 11:49]