Fix "lst:setup-rainbow-mode" again
This commit is contained in:
parent
cbf7ce9d9e
commit
396459b0fe
@ -5918,7 +5918,8 @@ and names in buffers for debugging.
|
|||||||
(setopt rainbow-x-colors-major-mode-list
|
(setopt rainbow-x-colors-major-mode-list
|
||||||
(list 'c++-mode 'c-mode 'emacs-lisp-mode 'inferior-emacs-lisp-mode
|
(list 'c++-mode 'c-mode 'emacs-lisp-mode 'inferior-emacs-lisp-mode
|
||||||
'lisp-interaction-mode 'org-mode 'python-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)))
|
(add-hook symbol #'rainbow-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user