From f51731bf98284d52967a1054635ed514e34de0dc Mon Sep 17 00:00:00 2001 From: Maximilian Wolff Date: Mon, 17 May 2021 20:48:37 +0000 Subject: [PATCH] [default] Fix the condition for dotspacemacs-use-SPC-as-y as in my first version it was activating `SPC as y` when it should actually disable it. --- layers/+spacemacs/spacemacs-defaults/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+spacemacs/spacemacs-defaults/config.el b/layers/+spacemacs/spacemacs-defaults/config.el index eec4dbfc9..4f03165d3 100644 --- a/layers/+spacemacs/spacemacs-defaults/config.el +++ b/layers/+spacemacs/spacemacs-defaults/config.el @@ -76,7 +76,7 @@ It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'." (setq ffap-machine-p-known 'reject) ;; Don't accept SPC as a yes for prompts -(when dotspacemacs-use-SPC-as-y +(unless dotspacemacs-use-SPC-as-y (define-key query-replace-map (kbd "SPC") nil)) ;; ---------------------------------------------------------------------------