From 3d7041834f5b874119b7fd0f8024825e48ff636a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 16 Aug 2023 16:06:20 +0300 Subject: [PATCH] Revert "Fix slow "C-h f" in Emacs built without native compilation" This reverts commit 545f95d1a3213318389ecadc7cfff3f48b555b03. It is no longer needed, as comp.el and comp-cstr.el are now byte-compiled even if native-compilation is not built-in. --- lisp/help-fns.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 81c58ba1998..135ee042dbf 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -715,8 +715,7 @@ the C sources, too." (unless (and (symbolp function) (get function 'reader-construct)) (insert high-usage "\n") - (when-let* ((res (and (native-comp-available-p) - (comp-function-type-spec function))) + (when-let* ((res (comp-function-type-spec function)) (type-spec (car res)) (kind (cdr res))) (insert (format -- 2.39.2