From b1ed9ee8a3c507dd26df3d884fb0e15daef7da99 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 26 Jun 2019 21:53:43 -0400 Subject: [PATCH] emacs: always use hunspell for ispell, fix swiper-related error --- .emacs.d/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 119d033..e854395 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1017,7 +1017,8 @@ For disabling the behaviour for certain buffers and/or modes." ;; ’ can be part of a word (setq ispell-local-dictionary-alist `((nil "[[:alpha:]]" "[^[:alpha:]]" - "['\x2019]" nil ("-B") nil utf-8))) + "['\x2019]" nil ("-B") nil utf-8)) + ispell-program-name (executable-find "hunspell")) ;; don't send ’ to the subprocess (defun endless/replace-apostrophe (args) (cons (replace-regexp-in-string @@ -1575,7 +1576,8 @@ For disabling the behaviour for certain buffers and/or modes." :token nday-students-token :subscribed-channels '(general) :full-and-display-names t) - (add-to-list 'swiper-font-lock-exclude 'slack-message-buffer-mode t) + (with-eval-after-load 'swiper + (add-to-list 'swiper-font-lock-exclude 'slack-message-buffer-mode t)) (setq lui-time-stamp-format "[%Y-%m-%d %H:%M:%S]" lui-time-stamp-only-when-changed-p t lui-time-stamp-position 'right) -- 2.20.1