diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-04-29 20:31:05 +0200 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-04-29 20:41:11 +0200 |
commit | 0757ea98654bef58d19a46ce2f7ce1a715ec65ca (patch) | |
tree | c142aee5e1caf5e9c9d403d192a4c91311b556c1 /lisp/emacs-lisp/comp-common.el | |
parent | 15016288ecaefbfb2822c1fcef7146a5d8663650 (diff) | |
download | emacs-0757ea98654bef58d19a46ce2f7ce1a715ec65ca.tar.gz emacs-0757ea98654bef58d19a46ce2f7ce1a715ec65ca.tar.bz2 emacs-0757ea98654bef58d19a46ce2f7ce1a715ec65ca.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/comp-common.el')
-rw-r--r-- | lisp/emacs-lisp/comp-common.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp-common.el b/lisp/emacs-lisp/comp-common.el index dea7af66a0c..ef40882a98a 100644 --- a/lisp/emacs-lisp/comp-common.el +++ b/lisp/emacs-lisp/comp-common.el @@ -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) |