mirror of
https://github.com/SqrtMinusOne/biome.git
synced 2025-12-10 14:35:13 +03:00
biome-query: use compat-call to silence package-lint
This commit is contained in:
parent
6966503963
commit
9becee827c
1 changed files with 2 additions and 2 deletions
|
|
@ -327,7 +327,7 @@ OBJ is an instance of `biome-query--transient-switch-variable'."
|
|||
"Format the variable switch OBJ."
|
||||
(concat
|
||||
" "
|
||||
(string-pad (transient-format-key obj) 6)
|
||||
(compat-call string-pad (transient-format-key obj) 6)
|
||||
(transient-format-description obj)
|
||||
(when (oref obj value)
|
||||
(propertize " (+)" 'face 'transient-argument))))
|
||||
|
|
@ -894,7 +894,7 @@ is a list of parent sections."
|
|||
(biome-query--with-layout-cache
|
||||
(string-join
|
||||
(mapcar
|
||||
(lambda (s) (string-replace " " "-" s))
|
||||
(lambda (s) (compat-call string-replace " " "-" s))
|
||||
(cons
|
||||
(alist-get :name section)
|
||||
(mapcar (lambda (s) (alist-get :name s)) parents)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue