biome-query: use compat-call to silence package-lint

This commit is contained in:
Pavel Korytov 2023-07-23 14:38:38 +03:00
parent 6966503963
commit 9becee827c

View file

@ -327,7 +327,7 @@ OBJ is an instance of `biome-query--transient-switch-variable'."
"Format the variable switch OBJ." "Format the variable switch OBJ."
(concat (concat
" " " "
(string-pad (transient-format-key obj) 6) (compat-call string-pad (transient-format-key obj) 6)
(transient-format-description obj) (transient-format-description obj)
(when (oref obj value) (when (oref obj value)
(propertize " (+)" 'face 'transient-argument)))) (propertize " (+)" 'face 'transient-argument))))
@ -894,7 +894,7 @@ is a list of parent sections."
(biome-query--with-layout-cache (biome-query--with-layout-cache
(string-join (string-join
(mapcar (mapcar
(lambda (s) (string-replace " " "-" s)) (lambda (s) (compat-call string-replace " " "-" s))
(cons (cons
(alist-get :name section) (alist-get :name section)
(mapcar (lambda (s) (alist-get :name s)) parents))) (mapcar (lambda (s) (alist-get :name s)) parents)))