summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/custom-case.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/custom-case.el b/modules/custom-case.el
index ca5563b2..75ceb184 100644
--- a/modules/custom-case.el
+++ b/modules/custom-case.el
@@ -108,7 +108,7 @@ and all articles are considered minor words."
(setq is-first nil))))))
;; replace the capitalize-region keybinding to call title-case
-(global-set-key [remap capitalize-region] 'cj/title-case-region)
+(keymap-global-set "<remap> <capitalize-region>" #'cj/title-case-region)
;; Case-change operations prefix and keymap
(defvar-keymap cj/case-map