Subject: bug#29397: 26.0.90; regression: `C-h l' from `edit-kbd-macro' raises error

From: Drew Adams <[email-masked]>
Date: Sat, 28 Sep 2019 18:06:53 -0700 (PDT)

Did it again (new Emacs session (-Q)), but with debug-on-error.

It worked correctly the first time, raised the error the second time.  Here's the backtrace:

Debugger entered--Lisp error: (error "Macros with mouse clicks are not supported by this command")
  signal(error ("Macros with mouse clicks are not supported by this command"))
  error("Macros with mouse clicks are not %s" "supported by this command")
  edmacro-fix-menu-commands([(help-echo #<frame emacs@DRADAMS-LAP1 0000000400a4eb80> "mouse-2: visit this file in other window" #<window 3 on *scratch*> #<killed buffer> 1261) 24 107 return 134217848 115 101 116 backspace backspace backspace 116 111 103 103 108 101 45 108 backspace 100 101 108 tab backspace backspace 98 tab 101 tab return up up up right right right right right right 24 40 6 6 6 24 41 134217848 110 97 ...])
  edit-kbd-macro("\010l" nil)
  funcall-interactively(edit-kbd-macro "\010l" nil)
  call-interactively(edit-kbd-macro record nil)
  command-execute(edit-kbd-macro record)
  execute-extended-command(nil "edit-kbd-macro" "edit-kb")
  funcall-interactively(execute-extended-command nil "edit-kbd-macro" "edit-kb")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)