Function: cl-get
cl-get is an autoloaded and byte-compiled function defined in
cl-extra.el.gz.
Signature
(cl-get SYMBOL PROPNAME &optional DEFAULT)
Documentation
Return the value of SYMBOL's PROPNAME property, or DEFAULT if none.
Aliases
get* (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-extra.el.gz
;;; Property lists.
;;;###autoload
(defun cl-get (sym tag &optional def)
"Return the value of SYMBOL's PROPNAME property, or DEFAULT if none.
\n(fn SYMBOL PROPNAME &optional DEFAULT)"
(declare (compiler-macro cl--compiler-macro-get)
(gv-setter (lambda (store) (ignore def) `(put ,sym ,tag ,store))))
(cl-getf (symbol-plist sym) tag def))