about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-editor.el7
-rw-r--r--.emacs.d/lisp/init-packages.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 1143b59..4ad20bc 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -116,6 +116,13 @@
   :config
   (when (string-suffix-p "aspell" ispell-program-name)
     (setq ispell-extra-args '("--sug-mode=ultra")))
+  (unbind-key "C-," flyspell-mode-map)
+  (unbind-key "C-." flyspell-mode-map)
+  ;;(unbind-key "C-;" flyspell-mode-map)
+  :custom (flyspell-auto-correct-binding (kbd "C-x C-M-;"))
+  :bind (:map flyspell-mode-map
+              ("C-x C-," . flyspell-goto-next-error)
+              ("C-x C-." . flyspell-correct-word))
   :hook
   (text-mode . flyspell-mode)
   (prog-mode . flyspell-prog-mode))
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index ecc225e..28b0e6a 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -169,7 +169,7 @@ using this command."
   (cl-letf (((symbol-function 'yes-or-no-p) (cl-constantly t)))
     (when (not (or (memq id elpaca-ignored-dependencies)
                    ;; TODO why aren't xref and project already in the list?
-                   (memq id '(xref project perspective))))
+                   (memq id '(xref project perspective elpaca))))
       (+elpaca-reload-package id))))
 
 ;; https://github.com/radian-software/radian/blob/e3aad124c8e0cc870ed09da8b3a4905d01e49769/emacs/radian.el#L352