summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.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.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.el')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index b37af4c8dc2..d7cd6b79c86 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -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