diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index 03aefb6f9..aec4cbd6f 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -1247,6 +1247,9 @@ Autocompletes. Default key is \(oqM-A\(cq, and also \(oq\(haN\(cq if .op number_pad is on. +.lp "" +Preceding #annotate with the \(oqm\(cq prefix is the same as +#overview with the prefix. .lp "#apply " Apply (use) a tool such as a pick-axe, a key, or a lamp. Default key is \(oqa\(cq. diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index ec7c5d80e..8051d8117 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -1286,6 +1286,10 @@ dungeon level. All levels with annotations are displayed by the ``\texttt{\#overview}'' command. Autocompletes. Default key is `\texttt{M-A}', and also `\texttt{\textasciicircum N}' if \textit{number\textunderscore pad} is on. +\\ +%.lp "" +Preceding \#annotate with the `\texttt{m}' prefix is the same as +\#overview with the prefix. %.lp \item[\#apply] Apply (use) a tool such as a pick-axe, a key, or a lamp. diff --git a/src/cmd.c b/src/cmd.c index c0718e4e4..de20c283b 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -1673,7 +1673,7 @@ struct ext_func_tab extcmdlist[] = { { M('a'), "adjust", "adjust inventory letters", doorganize, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL }, { M('A'), "annotate", "name current level", - donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL }, + donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD | CMD_M_PREFIX, NULL }, { 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)", doapply, CMD_M_PREFIX, NULL }, { C('x'), "attributes", "show your attributes", diff --git a/src/dungeon.c b/src/dungeon.c index 5b172b815..e0bd72d08 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -2564,6 +2564,8 @@ query_annotation(d_level *lev) int donamelevel(void) { + if (iflags.menu_requested) + return dooverview(); query_annotation((d_level *) 0); return ECMD_OK; }