From 9b92e9b66a821abf0124d7766b05f9a8bdf685b6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 29 Apr 2024 19:05:37 -0500 Subject: 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. --- modules/custom-functions.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/custom-functions.el') 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 -- cgit v1.2.3