summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-16 02:09:40 -0500
committerCraig Jennings <c@cjennings.net>2025-10-16 02:09:40 -0500
commit3c575269c849d4dd1c63ef0251102941ff65278f (patch)
tree5ba6a067d4a7e0e8a93da2e53b6649bd8ddab67c /modules
parentca96c41bcbfcacec1f9737cc244a01b45f404b41 (diff)
bug: flyspell: move unmap C-; command to after flyspell loads
"C-;" is used for the custom-keymap prefix, but flyspell also grabs it when loaded. Since Flyspell-mode-map will override it locally when launched, I unset the keybinding after launch in :config
Diffstat (limited to 'modules')
-rw-r--r--modules/flyspell-and-abbrev.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/flyspell-and-abbrev.el b/modules/flyspell-and-abbrev.el
index 08b96036..8c9550d5 100644
--- a/modules/flyspell-and-abbrev.el
+++ b/modules/flyspell-and-abbrev.el
@@ -89,6 +89,8 @@
:after (ispell abbrev)
:ensure nil ;; built-in
:config
+ ;; unset keybinding as we're using it for cj/custom keymap
+ (keymap-unset flyspell-mode-map "C-;")
;; don't print message for every word when checking
(setq flyspell-issue-message-flag nil))