mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Rename property 'declared-type' to 'function-type'
* lisp/emacs-lisp/byte-run.el (byte-run--set-function-type): Rename. (defun-declarations-alist): Update. * lisp/emacs-lisp/comp.el (comp--get-function-cstr): Likewise.
This commit is contained in:
parent
15016288ec
commit
0757ea9865
3 changed files with 5 additions and 5 deletions
|
@ -194,7 +194,7 @@ Useful to hook into pass checkers.")
|
|||
(when (symbolp function)
|
||||
(let ((f (symbol-function function)))
|
||||
(or (gethash f comp-primitive-func-cstr-h)
|
||||
(when-let ((res (function-get function 'declared-type)))
|
||||
(when-let ((res (function-get function 'function-type)))
|
||||
(comp-type-spec-to-cstr (car res)))))))
|
||||
|
||||
;; Keep it in sync with the `cl-deftype-satisfies' property set in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue