mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
Refactor with funcall
This commit is contained in:
@ -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
|
||||||
(apply #'message `(,(concat "(org-roam) " format-string) ,@args))))
|
(funcall #'message (concat "(org-roam) " format-string) args)))
|
||||||
|
|
||||||
(provide 'org-roam-macs)
|
(provide 'org-roam-macs)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user