summaryrefslogtreecommitdiff
path: root/modules/system-defaults.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system-defaults.el')
-rw-r--r--modules/system-defaults.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system-defaults.el b/modules/system-defaults.el
index 2cd46566..d8548625 100644
--- a/modules/system-defaults.el
+++ b/modules/system-defaults.el
@@ -165,7 +165,7 @@ Used to disable functionality with defalias \='somefunc \='cj/disabled)."
;; disable pinching gesture or mouse-wheel changing font size
(global-unset-key (kbd "<pinch>"))
-(global-set-key [remap mouse-wheel-text-scale] 'cj/disabled)
+(keymap-global-set "<remap> <mouse-wheel-text-scale>" #'cj/disabled)
;; ------------------------------- Be Quiet(er)! -------------------------------
;; reduces "helpful" instructions that distract Emacs power users.