From fbfb5030129ee364d661dd2b56d7798f5cebc619 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 22:31:08 +0200 Subject: [PATCH] * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix string-search. --- lisp/emacs-lisp/comp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index eebb77d993f..1fb07c66adf 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -496,7 +496,7 @@ Useful to hook into pass checkers.") (string-lessp (function ((or string symbol) (or string symbol)) boolean)) (string-make-multibyte (function (string) string)) (string-make-unibyte (function (string) string)) - (string-search (function (string string &optional integer) integer)) + (string-search (function (string string &optional integer) (or integer null))) (string-to-char (function (string) fixnum)) (string-to-multibyte (function (string) string)) (string-to-number (function (string &optional integer) number)) -- 2.39.5