mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
fix some lints
This commit is contained in:
@ -333,11 +333,11 @@ This function is used solely in Org-roam's capture templates: see
|
||||
PROPS is a plist containing additional Org-roam specific
|
||||
properties to be added to the template."
|
||||
(let* ((key (or (plist-get template :key)
|
||||
(user-error "template has no :key")))
|
||||
(user-error "Template has no :key")))
|
||||
(desc (or (plist-get template :desc)
|
||||
(user-error "template has no :desc")))
|
||||
(user-error "Template has no :desc")))
|
||||
(body (or (plist-get template :body)
|
||||
(user-error "template has no :body")))
|
||||
(user-error "Template has no :body")))
|
||||
(rest (org-plist-delete template :key))
|
||||
(rest (org-plist-delete rest :desc))
|
||||
(rest (org-plist-delete rest :body))
|
||||
|
Reference in New Issue
Block a user