summaryrefslogtreecommitdiff
path: root/devdocs/elisp/autoload-by-prefix.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/elisp/autoload-by-prefix.html')
-rw-r--r--devdocs/elisp/autoload-by-prefix.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/elisp/autoload-by-prefix.html b/devdocs/elisp/autoload-by-prefix.html
new file mode 100644
index 00000000..d555a5bf
--- /dev/null
+++ b/devdocs/elisp/autoload-by-prefix.html
@@ -0,0 +1,6 @@
+ <h4 class="subsection">Autoload by Prefix</h4> <p>During completion for the commands <code>describe-variable</code> and <code>describe-function</code>, Emacs will try to load files which may contain definitions matching the prefix being completed. The variable <code>definition-prefixes</code> holds a hashtable which maps a prefix to the corresponding list of files to load for it. Entries to this mapping are added by calls to <code>register-definition-prefixes</code> which are generated by <code>update-file-autoloads</code> (see <a href="autoload">Autoload</a>). Files which don’t contain any definitions worth loading (test files, for example), should set <code>autoload-compute-prefixes</code> to <code>nil</code> as a file-local variable. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload-by-Prefix.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload-by-Prefix.html</a>
+ </p>
+</div>