blob: d555a5bf120f30ed787486bc736535eef568c382 (
plain)
1
2
3
4
5
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 © 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>
|