summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-10-23 10:00:45 +0300
committerEli Zaretskii <eliz@gnu.org>2024-10-23 10:00:45 +0300
commitc037b253975da883594f10f48e0be53d81a32756 (patch)
treeb26497ba2560e9f747b22cb3a95f6ab9c1e46505 /lisp/emacs-lisp/comp.el
parente756d4373bdf1b076ee284c46637855908dd10d7 (diff)
downloademacs-c037b253975da883594f10f48e0be53d81a32756.tar.gz
emacs-c037b253975da883594f10f48e0be53d81a32756.tar.bz2
emacs-c037b253975da883594f10f48e0be53d81a32756.zip
; 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.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el6
1 files changed, 3 insertions, 3 deletions
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)))