Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer

From: João Távora <[email-masked]>
Date: Sun, 19 Apr 2020 21:17:47 +0100

On Sun, Apr 19, 2020 at 3:01 PM Eli Zaretskii <[email-masked]> wrote:

> > Does this need documentation?
>
> The new mode should be called out in NEWS, yes.
>

Do you suggest any starting suggestion fpr phrasing?
I ask because you frequently find flaws in my
English.

> diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
> > index 13263f2fb5..3b0f5493ee 100644
> > --- b/lisp/emacs-lisp/lisp-mode.el
> > +++ a/lisp/emacs-lisp/lisp-mode.el
> > @@ -611,15 +611,10 @@
> >    ;; a single docstring.  Let's fix it here.
> >    (if (looking-at "\\s-+\"[^\n\"]+\"\\s-*$") ""))
> >
> > -(defun lisp-mode-variables (&optional lisp-syntax
> keywords-case-insensitive
> > -                                      elisp)
> > +(defun lisp-mode-variables (&rest ignored)
>
> Please don't make this backward-incompatible change.  Let's keep the
> API of this function unchanged.
>

OK.  See the latest commit.

João