From: Eshel Yaron Date: Sun, 15 Oct 2023 20:51:03 +0000 (+0200) Subject: Further tweaks for Android X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a42ae3e485a79d7b2cd7690b529b7b0d066f229e;p=dotfiles.git Further tweaks for Android --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1258eeb..45e75f1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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