[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.
This commit is contained in:
Maximilian Wolff 2021-05-17 20:48:37 +00:00
parent a5d05c8fac
commit f51731bf98
1 changed files with 1 additions and 1 deletions

View File

@ -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))
;; ---------------------------------------------------------------------------