summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-06-26 21:53:43 -0400
committerAmin Bandali <bandali@gnu.org>2019-06-26 21:53:43 -0400
commitb1ed9ee8a3c507dd26df3d884fb0e15daef7da99 (patch)
treea0d2083b98ca78db3d55e10cce1c181fb52ffcb2
parent3ed94d42edcc9f9bf0f9d9067808c630f9cb64e0 (diff)
downloadconfigs-b1ed9ee8a3c507dd26df3d884fb0e15daef7da99.tar.gz
configs-b1ed9ee8a3c507dd26df3d884fb0e15daef7da99.tar.xz
configs-b1ed9ee8a3c507dd26df3d884fb0e15daef7da99.zip
emacs: always use hunspell for ispell, fix swiper-related error
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el6
1 files 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)