From 07ee51e71b744a9cb4922534a48d769c17e4873e Mon Sep 17 00:00:00 2001 From: liuyinz Date: Mon, 29 Apr 2024 07:09:47 +0800 Subject: [PATCH] style: silence compiler warning --- mise.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mise.el b/mise.el index d54026c..0993f9c 100644 --- a/mise.el +++ b/mise.el @@ -129,7 +129,7 @@ MSG and ARGS are as for that function." (when mise-mode (mise-mode -1)) (goto-char (point-max)) (let ((inhibit-read-only t)) - (insert (apply 'format msg args)) + (insert (apply #'format msg args)) (newline))))) ;;; Functions @@ -161,7 +161,7 @@ To ensure mise always in path. ARGS is as same as `call-process'." (if bin-path (message "mise: please set experimental to true by hand.") (message "mise: can't find executable."))))) - (apply 'call-process mise-executable args)))) + (apply #'call-process mise-executable args)))) (defun mise--detect-configs () "Return a list of configs file path for mise in current directory."