Mention new usage of `invalid-read-syntax' in the manual

* doc/lispref/errors.texi (Standard Errors): Document "trailing
garbage" use of `invalid-read-syntax' (bug#24649).
This commit is contained in:
Lars Ingebrigtsen 2019-08-23 20:42:45 +02:00
parent 6cd5678784
commit c5210fd00a

View file

@ -140,8 +140,10 @@ emacs, The GNU Emacs Manual}.
The message is @samp{Invalid function}. @xref{Function Indirection}.
@item invalid-read-syntax
The message is @samp{Invalid read syntax}. @xref{Printed
Representation}.
The message is usually @samp{Invalid read syntax}. @xref{Printed
Representation}. This error can also be raised by commands like
@code{eval-expression} when there's text following an expression. In
that case, the message is @samp{Trailing garbage following expression}.
@item invalid-regexp
The message is @samp{Invalid regexp}. @xref{Regular Expressions}.