[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39291: M-: history doesn't store erroneous input
From: |
Eli Zaretskii |
Subject: |
bug#39291: M-: history doesn't store erroneous input |
Date: |
Fri, 31 Jan 2020 11:20:20 +0200 |
> From: Federico Tedin <federicotedin@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, 39291@debbugs.gnu.org,
> pogonyshev@gmail.com, Juri Linkov <juri@linkov.net>
> Date: Fri, 31 Jan 2020 01:44:34 +0100
>
> > AFAIK they don't depend on Lisp variables, no, so it should be safe to
> > move the call to `string_to_object` to after the `unbind_to`.
> >
> Thanks for the information. In that case, the patch I sent should be the
> right fix for this bug.
Thanks, pushed to the release branch.
> * src/minibuf.c (read_minibuf): Parse input string after saving the
> string to the history list instead of before, in case parsing
> fails. (Bug#39291)
^^
Please in the future leave 2 blanks between sentences, per our
conventions.