[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30489: 26.0.91; [PATCH] Data associated with json-readtable-error no
bug#30489: 26.0.91; [PATCH] Data associated with json-readtable-error not a list
Fri, 16 Mar 2018 05:36:52 +0200
> From: Noam Postavsky <address@hidden>
> Date: Thu, 15 Mar 2018 22:39:18 -0400
> Cc: address@hidden
> "Basil L. Contovounesios" <address@hidden> writes:
> > - `(cond ,@res (t (signal 'json-readtable-error ,char)))))
> > + `(cond ,@res (t (signal 'json-readtable-error ,(list char))))))
> > When signalling json-readtable-error, the macro json-readtable-dispatch
> > passes the unrecognised character as error data verbatim, rather than as
> > a list. Attached is a patch which fixes this.
> Should this be applied to emacs-26? It seems to fix a regression
> relative to Emacs 25 (where this error just had `nil' as the data) and
> the patch looks safe enough.
What change(s) introduced the regression?