From c5c0c06b1c37dc32b992dc4deddd8ec7bf154def Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 26 Dec 2020 12:22:21 +0100 Subject: [PATCH] * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Add two functions. --- lisp/emacs-lisp/comp.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 7d444af8d9f..caea81fccca 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -264,7 +264,10 @@ Useful to hook into pass checkers.") (zerop (function (number) boolean)) ;; Type hints (comp-hint-fixnum (function (t) fixnum)) - (comp-hint-cons (function (t) cons))) + (comp-hint-cons (function (t) cons)) + ;; Non returning functions + (error (function (string &rest t) nil)) + (signal (function (symbol t) nil))) "Alist used for type propagation.") (defconst comp-known-func-cstr-h -- 2.39.5