summaryrefslogtreecommitdiff
path: root/modules/custom-functions.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-29 19:05:37 -0500
committerCraig Jennings <c@cjennings.net>2024-04-29 19:05:37 -0500
commit9b92e9b66a821abf0124d7766b05f9a8bdf685b6 (patch)
tree96cb49736104d2228069288ef10a17b1eaae5b1a /modules/custom-functions.el
parente9e5696bc95d34aad8eb561d7458ac21b06359b0 (diff)
downloaddotemacs-9b92e9b66a821abf0124d7766b05f9a8bdf685b6.tar.gz
dotemacs-9b92e9b66a821abf0124d7766b05f9a8bdf685b6.zip
refactored flyspell-and-abbrev
- refactored flyspell-and-abbrev, adding ert tests - remove unsetting the C-; keybinding for personal-keymap from Flyspell to custom-functions with the rest of the keybinding commands.
Diffstat (limited to 'modules/custom-functions.el')
-rw-r--r--modules/custom-functions.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/custom-functions.el b/modules/custom-functions.el
index a36dfe80..68c2270f 100644
--- a/modules/custom-functions.el
+++ b/modules/custom-functions.el
@@ -542,7 +542,12 @@ Uses `sortable-time-format' for the formatting the date/time."
;; ------------------------------ Personal Keymap ------------------------------
;; a keymap to use the above functions. prefix key: "C-;"
+
+;; Unset Flyspell's greedy keybinding C-; so it can be used for personal-keymap
(global-unset-key (kbd "C-;"))
+(eval-after-load "flyspell"
+ '(define-key flyspell-mode-map (kbd "C-;") nil))
+
(defvar personal-keymap
(let ((map (make-sparse-keymap)))
;; un/arrayify