mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(feat): allow special 'ignore key in capture template (#1701)
Allow 'ignore as a valid value in place of function
This commit is contained in:
@ -767,7 +767,9 @@ properties to be added to the template."
|
|||||||
(pcase template
|
(pcase template
|
||||||
(`(,_key ,_desc)
|
(`(,_key ,_desc)
|
||||||
template)
|
template)
|
||||||
(`(,key ,desc ,type ,body . ,rest)
|
((or `(,key ,desc ,type ignore ,body . ,rest)
|
||||||
|
`(,key ,desc ,type (function ignore) ,body . ,rest)
|
||||||
|
`(,key ,desc ,type ,body . ,rest))
|
||||||
(setq rest (append rest props))
|
(setq rest (append rest props))
|
||||||
(let (org-roam-plist options)
|
(let (org-roam-plist options)
|
||||||
(while rest
|
(while rest
|
||||||
|
Reference in New Issue
Block a user