syntax-checking: fixed flycheck error list popwin config

Due to an error of argument order, `syntax-checking--buffer-config` was not
declared correctly and the setting is not respected by `popwin`.

This commit fixed that.
This commit is contained in:
Lucius Hu 2022-07-14 03:29:35 -04:00
parent 57d7cfee5c
commit 5d3820a1e5
No known key found for this signature in database
GPG Key ID: 7E474E82E29B5A7A
1 changed files with 9 additions and 9 deletions

View File

@ -92,12 +92,12 @@ Note only one of BITMAP and MARGIN-STR is used, which is dictated by
;; internals
(defvar syntax-checking--buffer-config
"Internal syntax checking window position config."
`('^\\*Flycheck.+\\*$'
:regexp t
:dedicated t
:position ,syntax-checking-window-position
:width ,syntax-checking-window-width
:height ,syntax-checking-window-height
:stick t
:noselect t))
(list "^\\*Flycheck.+\\*$"
:regexp t
:dedicated t
:position syntax-checking-window-position
:width syntax-checking-window-width
:height syntax-checking-window-height
:stick t
:noselect t)
"Internal syntax checking window position config.")