Tidy: (org-ql--plist-get*) Docstring
This commit is contained in:
parent
36ff9854ce
commit
29533525c3
1 changed files with 2 additions and 1 deletions
|
|
@ -699,7 +699,8 @@ returns nil."
|
||||||
(user-error "Query aborted by user")))))
|
(user-error "Query aborted by user")))))
|
||||||
|
|
||||||
(defun org-ql--plist-get* (plist property)
|
(defun org-ql--plist-get* (plist property)
|
||||||
"Return the value of PROPERTY in PLIST, or `not-found' if the property is missing."
|
"Return the value of PROPERTY in PLIST, or `not-found'.
|
||||||
|
Returns `not-found' if the property is missing."
|
||||||
(if-let ((pair (plist-member plist property)))
|
(if-let ((pair (plist-member plist property)))
|
||||||
(cadr pair)
|
(cadr pair)
|
||||||
'not-found))
|
'not-found))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue