]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Further tweaks for Android
authorEshel Yaron <me@eshelyaron.com>
Sun, 15 Oct 2023 20:51:03 +0000 (22:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 15 Oct 2023 20:51:03 +0000 (22:51 +0200)
.emacs.d/init.el

index 1258eebab3312d89b1d07470f27a6371dd550f4e..45e75f1d4d67aa4995e062b32e9f46a199234acb 100644 (file)
@@ -882,7 +882,9 @@ Interactively, POINT is point and KILL is the prefix argument."
   (add-hook 'prog-mode-hook mode))
 
 (add-hook 'lisp-data-mode-hook #'paredit-mode)
-(add-hook 'lisp-data-mode-hook #'rainbow-delimiters-mode)
+(add-hook 'lisp-data-mode-hook (lambda ()
+                                 (when (require 'rainbow-delimiters nil t)
+                                   (rainbow-delimiters-mode))))
 
 ;;; Extend other standard hooks