Subject: Re: bug#68795: 29.2; kill-compilation

From: Eli Zaretskii <[email-masked]>
Date: Sat, 03 Feb 2024 13:01:40 +0200

> From: Bob Hepple <[email-masked]>
> Date: Mon, 29 Jan 2024 23:29:35 +1000
> 
> kill-compilation throws an error when called from an ELisp buffer:
> 
> Wrong type argument: char-or-string-p, ("ELisp" (lexical-binding
> (:propertize "/l" help-echo "Using lexical-binding mode") (:propertize
> "/d" help-echo "Using old dynamic scoping mode
> mouse-1: Enable lexical-binding mode" face warning mouse-face
> mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 .
> elisp-enable-lexical-binding))))))
> 
> How to reproduce from emacs -Q:
> 
> open any elisp file
> M-x compile
> M-x kill-compilation
> 
> Note: kill-compilation calls (downcase mode-name) but it needs to be
> (downcase (format-mode-line mode-name))

Thanks, fixed on the master branch, and closing the bug.