summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-common.el
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2024-04-29 20:31:05 +0200
committerAndrea Corallo <acorallo@gnu.org>2024-04-29 20:41:11 +0200
commit0757ea98654bef58d19a46ce2f7ce1a715ec65ca (patch)
treec142aee5e1caf5e9c9d403d192a4c91311b556c1 /lisp/emacs-lisp/comp-common.el
parent15016288ecaefbfb2822c1fcef7146a5d8663650 (diff)
downloademacs-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.el2
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)