From b21c9b0816e9bb923e00d6e69eed7c4341850dd0 Mon Sep 17 00:00:00 2001 From: Stephen Berman Date: Mon, 16 Aug 2021 19:13:53 +0200 Subject: [PATCH] Add Command Modes to Elisp manual menu and add index entries * doc/lispref/commands.texi (Command Modes): Add index entries. * doc/lispref/elisp.texi (Top): Add entry for the Command Modes node to the detailed node listing. --- doc/lispref/commands.texi | 3 +++ doc/lispref/elisp.texi | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index b4a8b733a0b..6d450998673 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -601,6 +601,9 @@ Put them into three windows, selecting the last one." @node Command Modes @subsection Specifying Modes For Commands +@cindex commands, mode-specific +@cindex commands, specify as mode-specific +@cindex mode-specific commands Many commands in Emacs are general, and not tied to any specific mode. For instance, @kbd{M-x kill-region} can be used in pretty much any diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 8b440c79774..337c71c2956 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@ -788,6 +788,7 @@ Defining Commands * Interactive Codes:: The standard letter-codes for reading arguments in various ways. * Interactive Examples:: Examples of how to read interactive arguments. +* Command Modes:: Specifying that commands are for a specific mode. * Generic Commands:: Select among command alternatives. -- 2.39.5