From 031ee63bee7ecffee2eebb0faae37a37e2b8a603 Mon Sep 17 00:00:00 2001 From: Taro Sato Date: Sun, 25 May 2025 22:08:41 -0700 Subject: [PATCH] (fix): Use correct type specifications to suppress warnings --- org-roam-node.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-roam-node.el b/org-roam-node.el index b484385..0300fe0 100644 --- a/org-roam-node.el +++ b/org-roam-node.el @@ -90,7 +90,7 @@ following function shows the title and base filename of the node: \q(setq org-roam-node-display-template 'my--org-roam-format)" :group 'org-roam - :type '(string function)) + :type '(choice string function)) (defcustom org-roam-node-annotation-function #'org-roam-node-read--annotation "This function used to attach annotations for `org-roam-node-read'. @@ -114,7 +114,7 @@ argument, an `org-roam-node', and return a string. If a string is provided, it is a template string expanded by `org-roam-node--format-entry'." :group 'org-roam - :type '(string function)) + :type '(choice string function)) (defcustom org-roam-node-template-prefixes '(("tags" . "#")