Refactor with funcall

This commit is contained in:
Leo Vivier
2020-05-10 23:11:45 +02:00
parent ed3e116f80
commit 0807252d64

View File

@ -62,7 +62,7 @@ to look.
(defun org-roam-message (format-string &rest args)
"Pass FORMAT-STRING and ARGS to `message' when `org-roam-verbose' is t."
(when org-roam-verbose
(apply #'message `(,(concat "(org-roam) " format-string) ,@args))))
(funcall #'message (concat "(org-roam) " format-string) args)))
(provide 'org-roam-macs)