]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix slow "C-h f" in Emacs built without native compilation"
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Aug 2023 13:06:20 +0000 (16:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Aug 2023 13:06:20 +0000 (16:06 +0300)
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

index 81c58ba1998554cb7bfb6488e1b84370d88410aa..135ee042dbf9bd75949c15162eedd86ae2e946b6 100644 (file)
@@ -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