From c037b253975da883594f10f48e0be53d81a32756 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 23 Oct 2024 10:00:45 +0300 Subject: ; Improve documentation of 'native-compile-directory' (bug#73303) * lisp/emacs-lisp/comp.el (native-compile-directory): Doc fix. * doc/lispref/compile.texi (Native-Compilation Functions): Document 'native-compile-directory'. * etc/NEWS: Improve wording. --- lisp/emacs-lisp/comp.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/emacs-lisp/comp.el') diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 8866f47aa66..96341b0a39f 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3665,9 +3665,9 @@ the compilation was successful return the compiled function." ;;;###autoload (defun native-compile-directory (directory) "Native compile if necessary all the .el files present in DIRECTORY. -Each .el file is native compiled if the corresponding .eln file is not -found inside the current `native-comp-eln-load-path'. The search within -DIRECTORY is perfomed recursively." +Each .el file is native-compiled if the corresponding .eln file is not +found in any directory mentioned in `native-comp-eln-load-path'. +The search within DIRECTORY is perfomed recursively." (mapc (lambda (file) (unless (comp-lookup-eln file) (native-compile file))) -- cgit v1.2.3