bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21681: [PATCH] Fix formatting of lexical-binding at eof warning


From: Noam Postavsky
Subject: bug#21681: [PATCH] Fix formatting of lexical-binding at eof warning
Date: Wed, 14 Oct 2015 12:56:28 -0400

On Wed, Oct 14, 2015 at 12:28 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Why 'files', and not something more concrete, like
> 'file-local-variables'?

The docstring for display-warning says the TYPE arg should be a custom group.

display-warning doesn't actually enforce this, and it looks like the
choice of symbol(s) is only relevant to warning-suppress-log-types.
Perhaps the TYPE should be '(files local-variables) so the user can
suppress it along with all files warnings or just suppress it on it's
own, but display-warning only prints the 1st symbol of the list so the
warning text itself wouldn't change.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]