From 0757ea98654bef58d19a46ce2f7ce1a715ec65ca Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 29 Apr 2024 20:31:05 +0200 Subject: 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. --- lisp/emacs-lisp/comp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/comp.el') 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 -- cgit v1.2.3