Subject: Re: bug#47699: [PATCH] Improve completion-list-mode-map

From: Gregory Heytings <[email-masked]>
Date: Tue, 25 May 2021 19:25:39 +0000

>
> Thanks, but test/lisp/help-tests.el also needs updating:
>

Whoops, yes, indeed.  Patch attached.

From e3ae297166ef042c45225a4247321b438da91bbe Mon Sep 17 00:00:00 2001
From: Gregory Heytings <[email-masked]>
Date: Tue, 25 May 2021 19:22:03 +0000
Subject: [PATCH] Fix test in help-tests

* test/lisp/help-tests.el
(help-tests-substitute-command-keys/keymaps):
Add M-g M-c to the keymap.  This fixes the failed test because of
commit ce2de3b50a.
---
 test/lisp/help-tests.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/lisp/help-tests.el b/test/lisp/help-tests.el
index b2fec5c1bd..871417da3d 100644
--- a/test/lisp/help-tests.el
+++ b/test/lisp/help-tests.el
@@ -110,14 +110,19 @@ help-tests-substitute-command-keys/keymaps
 <prior>		switch-to-completions
 <up>		previous-line-or-history-element
 
+M-g		Prefix Command
 M-v		switch-to-completions
 
+M-g ESC		Prefix Command
+
 M-<		minibuffer-beginning-of-buffer
 M-n		next-history-element
 M-p		previous-history-element
 M-r		previous-matching-history-element
 M-s		next-matching-history-element
 
+M-g M-c		switch-to-completions
+
 ")))
 
 (ert-deftest help-tests-substitute-command-keys/keymap-change ()
-- 
2.30.2