From 92914ade6d3c74ab0a1a7b3820e4707fb0679977 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 24 Mar 2021 16:59:52 +0100 Subject: [PATCH] Improve two native compiler related docstrings. * lisp/emacs-lisp/comp.el (comp-eln-load-path-eff): Improve docstring. * src/comp.c (comp-eln-load-path): Likewise. --- lisp/emacs-lisp/comp.el | 2 +- src/comp.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 90e127d6323..0597837ebd0 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3692,7 +3692,7 @@ Prepare every function for final compilation and drive the C back-end." (defun comp-eln-load-path-eff () "Return a list of effective eln load directories. -Account for `comp-load-path' and `comp-native-version-dir'." +Account for `comp-eln-load-path' and `comp-native-version-dir'." (mapcar (lambda (dir) (expand-file-name comp-native-version-dir (file-name-as-directory diff --git a/src/comp.c b/src/comp.c index 5eb7bf21066..857f798a8d8 100644 --- a/src/comp.c +++ b/src/comp.c @@ -5354,6 +5354,8 @@ For internal use. */); If a directory is non absolute is assumed to be relative to `invocation-directory'. +`comp-native-version-dir' value is used as a sub-folder name inside +each eln cache directory. The last directory of this list is assumed to be the system one. */); /* Temporary value in use for bootstrap. We can't do better as -- 2.39.5