From a42ae3e485a79d7b2cd7690b529b7b0d066f229e Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 15 Oct 2023 22:51:03 +0200 Subject: [PATCH] Further tweaks for Android --- .emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2