summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2024-05-05 23:39:01 +0200
committerAndrea Corallo <acorallo@gnu.org>2024-05-05 23:58:31 +0200
commitf920959ac98afa8f8eb142abe94bec276fa7a2b7 (patch)
treec7031a0438958adf15d50734fb40288070756154 /lisp/emacs-lisp/comp.el
parent77f87d4b489fcb332fc3d8d3d4a8080e7e1818fd (diff)
downloademacs-f920959ac98afa8f8eb142abe94bec276fa7a2b7.tar.gz
emacs-f920959ac98afa8f8eb142abe94bec276fa7a2b7.tar.bz2
emacs-f920959ac98afa8f8eb142abe94bec276fa7a2b7.zip
Remove unnecessary cons in function-type property
* lisp/emacs-lisp/comp-common.el (comp-function-type-spec): Remove unnecessary car. * lisp/emacs-lisp/comp.el (comp--intern-func-in-ctxt): Likewise. * lisp/emacs-lisp/byte-run.el (byte-run--set-function-type): Update lambda list.
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 b1e4b77ae40..e69de84362e 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -825,7 +825,7 @@ clashes."
(comp-func-lap func) lap
(comp-func-frame-size func) (comp--byte-frame-size byte-func)
(comp-func-speed func) (comp--spill-speed name)
- (comp-func-declared-type func) (car (comp--spill-decl-spec name 'function-type))
+ (comp-func-declared-type func) (comp--spill-decl-spec name 'function-type)
(comp-func-pure func) (comp--spill-decl-spec name 'pure))
;; Store the c-name to have it retrievable from