commit de9d93f0ee98f01860824f56e7f9cd95111c4a4d parent cb8dc622e66d7295e1f046c17ad02044e75adc3c Author: Vincent Demeester <vincent@sbr.pm> Date: Tue, 24 Oct 2023 13:27:26 +0200 tools/emacs: re-enable flyspell And make sure it doesn't take over embark. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/old-config/config-editing.el | | | 40 | ++++++++++++++++++++-------------------- |
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/tools/emacs/old-config/config-editing.el b/tools/emacs/old-config/config-editing.el @@ -174,26 +174,26 @@ Else toggle the comment status of the line at point." ("C-x C-;" . comment-box))) ;; FIXME(vdemeester) Do I need on-the-fly spellcheck *or* not ? -;; (use-package flyspell -;; :unless noninteractive -;; :commands (flyspell-prog-mode flyspell-mode) -;; :hook((text-mode . flyspell-mode) -;; (prog-mode . flyspell-prog-mode)) -;; :config -;; (define-key flyspell-mode-map (kbd "C-;") nil) -;; (setq-default flyspell-issue-message-flag nil -;; flyspell-issue-welcome-flag nil -;; ispell-program-name "hunspell" -;; ispell-local-dictionary "en_GB" -;; ispell-local-dictionary-alist -;; '(("en_GB" -;; "[[:alpha:]]" -;; "[^[:alpha:]]" -;; "[']" -;; nil -;; ("-d" "en_GB,fr_FR") -;; nil -;; utf-8)))) +(use-package flyspell + :unless noninteractive + :commands (flyspell-prog-mode flyspell-mode) + :hook((text-mode . flyspell-mode) + (prog-mode . flyspell-prog-mode)) + :config + (define-key flyspell-mode-map (kbd "C-.") nil) + (setq-default flyspell-issue-message-flag nil + flyspell-issue-welcome-flag nil + ispell-program-name "hunspell" + ispell-local-dictionary "en_GB" + ispell-local-dictionary-alist + '(("en_GB" + "[[:alpha:]]" + "[^[:alpha:]]" + "[']" + nil + ("-d" "en_GB,fr_FR") + nil + utf-8)))) ;; ;; (use-package emacs ;; :init