From ad3210470db79a3b2cbb8dbe01ac36fb4732f8a8 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Fri, 11 Sep 2020 12:48:33 +0200 Subject: [PATCH] Fix keybindings for capitalizing commands --- init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index e6e9c5c..13135dc 100644 --- a/init.el +++ b/init.el @@ -59,9 +59,9 @@ (global-set-key (kbd "M-z") #'zap-up-to-char) ;; Better than default: act on the region if active -(bind-key "M-c" 'capitalize-dwim) -(bind-key "M-l" 'downcase-dwim) -(bind-key "M-u" 'upcase-dwim) +(global-set-key (kbd "M-c") 'capitalize-dwim) +(global-set-key (kbd "M-l") 'downcase-dwim) +(global-set-key (kbd "M-u") 'upcase-dwim) (setq-default c-basic-offset 2) (setq c-default-style "linux")