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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue