about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
index 6272b1127088..4f07a8ce70ad 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
@@ -92,17 +92,17 @@
   :config
   (global-evil-surround-mode 1))
 
-;; Custom minor mode that ensures that my kbds are available no matter which major
-;; or minor modes are active.
-(add-hook 'after-load-functions #'ensure-william-carroll-kbds)
-
-(defun ensure-william-carroll-kbds (_ignore)
+(defun wpc/ensure-kbds (_ignore)
   "Try to ensure that my keybindings retain priority over other minor modes."
   (unless (eq (caar minor-mode-map-alist) 'wpc/kbds-minor-mode)
     (let ((mykbds (assq 'wpc/kbds-minor-mode minor-mode-map-alist)))
       (assq-delete-all 'wpc/kbds-minor-mode minor-mode-map-alist)
       (add-to-list 'minor-mode-map-alist mykbds))))
 
+;; Custom minor mode that ensures that my kbds are available no matter which
+;; major or minor modes are active.
+(add-hook 'after-load-functions #'wpc/ensure-kbds)
+
 (defvar wpc/kbds
   (let ((map (make-sparse-keymap)))
     (bind-keys :map map