diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/elisp/generic-commands.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/elisp/generic-commands.html')
| -rw-r--r-- | devdocs/elisp/generic-commands.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/devdocs/elisp/generic-commands.html b/devdocs/elisp/generic-commands.html deleted file mode 100644 index dd265cf7..00000000 --- a/devdocs/elisp/generic-commands.html +++ /dev/null @@ -1,10 +0,0 @@ - <h4 class="subsection">Select among Command Alternatives</h4> <p>The macro <code>define-alternatives</code> can be used to define <em>generic commands</em>. These are interactive functions whose implementation can be selected from several alternatives, as a matter of user preference. </p> <dl> <dt id="define-alternatives">Macro: <strong>define-alternatives</strong> <em>command &rest customizations</em> -</dt> <dd> -<p>Define the new command <var>command</var>, a symbol. </p> <p>When a user runs <kbd>M-x <var>command</var> <span class="key">RET</span></kbd> for the first time, Emacs prompts for which real form of the command to use, and records the selection by way of a custom variable. Using a prefix argument repeats this process of choosing an alternative. </p> <p>The variable <code><var>command</var>-alternatives</code> should contain an alist with alternative implementations of <var>command</var>. Until this variable is set, <code>define-alternatives</code> has no effect. </p> <p>If <var>customizations</var> is non-<code>nil</code>, it should consist of alternating <code>defcustom</code> keywords (typically <code>:group</code> and <code>:version</code>) and values to add to the declaration of <code><var>command</var>-alternatives</code>. </p> -</dd> -</dl><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/Generic-Commands.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Generic-Commands.html</a> - </p> -</div> |
