spacedminish: fixed bug

fixes https://github.com/syl20bnr/spacemacs/issues/14726
This commit is contained in:
Lucius Hu 2021-05-28 02:10:15 +00:00 committed by GitHub
parent 8365979326
commit d9132f8bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -255,8 +255,8 @@ the scroll transient state.")
(SYMBOL STRING STRING)"
(let ((default-mode (use-package-as-mode name)))
(pcase arg
;; (PATTERN PATTERN ..) when not recursive -> go to recursive case
((and `(,x . ,y)
;; (PATTERN ..) when not recursive -> go to recursive case
((and (or `(,x . ,y) `(,x ,y))
(guard (and (not recursed)
(listp x)
(listp y))))