Subject: bug#72680: 31.0.50; Incorrect completions for 'interactive' modes arguments

From: Eshel Yaron <[email-masked]>
Date: Sat, 17 Aug 2024 07:17:05 +0200

Hi,

Consider the following recipe:

1. emacs -Q
2. Insert "(defun foo () (interactive nil emacs-lisp-m"
3. Hit M-TAB to complete

The expected result is that the symbol at point is completed to
emacs-lisp-mode.  However, Emacs provides variable name completion
in this context, instead of major mode name completion, so we end
up with emacs-lisp-mode- (with the extra hyphen).

Cheers,

Eshel