From 8a588cbd4c9af8f3395d4218ca03390e8ad44b18 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 10 Apr 2022 19:39:02 +0200 Subject: [PATCH] Modes should be enabled with a postive ARG --- config.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.el b/config.el index 7e2c970..36743c3 100644 --- a/config.el +++ b/config.el @@ -184,7 +184,7 @@ (use-package! whole-line-or-region :config (define-key whole-line-or-region-local-mode-map [remap comment-dwim] nil) - (whole-line-or-region-global-mode t)) + (whole-line-or-region-global-mode +1)) ;; ----------------------------------------------------------------------------- ;; Global configuration. @@ -205,10 +205,10 @@ whitespace-line-column fill-column) ;; CamelCase as separate words. -(global-subword-mode t) +(global-subword-mode +1) ;; Doom emacs recommends `visual-line-mode' as it claims wrapping is expensive. -(global-visual-line-mode t) +(global-visual-line-mode +1) ;; But "C-e" behaves differently in `visual-line-mode' than when they are ;; wrapped. It goes to the end of the visual line, not the logical line. This