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:
Andrea Corallo 2024-04-29 20:31:05 +02:00
parent 15016288ec
commit 0757ea9865
3 changed files with 5 additions and 5 deletions

View file

@ -515,7 +515,7 @@ itself."
(let ((f (and (symbolp function)
(symbol-function function))))
(when (and f (null type-spec))
(if-let ((delc-type (function-get function 'declared-type)))
(if-let ((delc-type (function-get function 'function-type)))
;; Declared Lisp function
(setf type-spec (car delc-type))
(when (subr-native-elisp-p f)