Don't put non-m-prefix command msg into history
This commit is contained in:
@@ -3704,7 +3704,8 @@ rhack(int key)
|
|||||||
* the former call to help_dir() (for 'bad_command' below).
|
* the former call to help_dir() (for 'bad_command' below).
|
||||||
*/
|
*/
|
||||||
if (was_m_prefix) {
|
if (was_m_prefix) {
|
||||||
pline("The %s command does not accept '%s' prefix.",
|
custompline(SUPPRESS_HISTORY,
|
||||||
|
"The %s command does not accept '%s' prefix.",
|
||||||
tlist->ef_txt, which);
|
tlist->ef_txt, which);
|
||||||
} else {
|
} else {
|
||||||
uchar ch = tlist->key;
|
uchar ch = tlist->key;
|
||||||
|
|||||||
Reference in New Issue
Block a user