Apply args correctly

This commit is contained in:
Nicholas Vollmer
2020-05-10 17:07:50 -04:00
parent ce781cc8fd
commit ed3e116f80

View File

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