From 396459b0fe46d8853d5a7bf7e8144598691dfff0 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 12 Jun 2024 17:09:19 +0200 Subject: [PATCH] Fix "lst:setup-rainbow-mode" again --- README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 56c9ab8..3b7f487 100644 --- a/README.org +++ b/README.org @@ -5918,7 +5918,8 @@ and names in buffers for debugging. (setopt rainbow-x-colors-major-mode-list (list 'c++-mode 'c-mode 'emacs-lisp-mode 'inferior-emacs-lisp-mode 'lisp-interaction-mode 'org-mode 'python-mode)) - (dolist (symbol '(emacs-lisp-mode-hook python-mode-hook)) + ;; GAV: How to disable `rainbow-mode' on `emacs-lisp-mode-hook'? + (dolist (symbol '(python-mode-hook)) (add-hook symbol #'rainbow-mode))) #+end_src