From 9becee827c5c0387a8c36a5c7d703fb12b9c4ebd Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sun, 23 Jul 2023 14:38:38 +0300 Subject: [PATCH] biome-query: use compat-call to silence package-lint --- biome-query.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biome-query.el b/biome-query.el index a92b673..0253bfe 100644 --- a/biome-query.el +++ b/biome-query.el @@ -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)))