mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(getf): Don't call get*.
This commit is contained in:
parent
634376231a
commit
318f417cd3
1 changed files with 7 additions and 1 deletions
|
|
@ -624,7 +624,13 @@ argument VECP, this copies vectors as well as conses."
|
|||
PROPLIST is a list of the sort returned by `symbol-plist'."
|
||||
(setplist '--cl-getf-symbol-- plist)
|
||||
(or (get '--cl-getf-symbol-- tag)
|
||||
(and def (get* '--cl-getf-symbol-- tag def))))
|
||||
;; Originally we called get* here,
|
||||
;; but that fails, because get* has a compiler macro
|
||||
;; definition that uses getf!
|
||||
(when def
|
||||
(while (and plist (not (eq (car plist) tag)))
|
||||
(setq plist (cdr (cdr plist))))
|
||||
(if plist (car (cdr plist)) def))))
|
||||
|
||||
(defun cl-set-getf (plist tag val)
|
||||
(let ((p plist))
|
||||
|
|
|
|||
Loading…
Reference in a new issue