Function: hypb:remove-from-plist
hypb:remove-from-plist is an autoloaded macro defined in hypb.el.
Signature
(hypb:remove-from-plist PLACE NAME)
Documentation
Remove from property list PLACE a NAME string.
PLACE may be a symbol, or any generalized variable allowed by
setf. The form generated by the macro returns true if NAME was
found and removed, nil otherwise.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
;; Adapted from cl-remf in "cl-macs.el" but uses 'equal' for comparisons.
;;;###autoload
(defmacro hypb:remove-from-plist (place name)
"Remove from property list PLACE a NAME string.
PLACE may be a symbol, or any generalized variable allowed by
`setf'. The form generated by the macro returns true if NAME was
found and removed, nil otherwise."
(declare (debug (place form)))
(gv-letplace (tval setter) place
(macroexp-let2 macroexp-copyable-p tname name
`(if (equal ,tname (car ,tval))
(progn ,(funcall setter `(cddr ,tval))
t)
(hypb:do-remove-from-plist ,tval ,tname)))))