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

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

bug#34104: 26.1; Inaccurate error report of (sort "cba" #'<)


From: Philipp Stephani
Subject: bug#34104: 26.1; Inaccurate error report of (sort "cba" #'<)
Date: Sun, 20 Jan 2019 00:05:04 +0100

Am Fr., 18. Jan. 2019 um 09:31 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Thu, 17 Jan 2019 23:43:16 +0100
> > Cc: 34104@debbugs.gnu.org
> >
> > > Debugger entered--Lisp error: (wrong-type-argument sequencep "cba")
> > >   sort("cba" <)
> > >   eval((sort "cba" (function <)) nil)
> > >   elisp--eval-last-sexp(nil)
> > >   eval-last-sexp(nil)
> > >   funcall-interactively(eval-last-sexp nil)
> > >   call-interactively(eval-last-sexp nil nil)
> > >   command-execute(eval-last-sexp)
> > >
> > > the error is inaccurate since "cba" is indeed a sequence
> > >
> > > (sequencep "cba")
> > > ;; => t
> > >
> > > it should report "cba" is not a list or vector instead.
> > >
> >
> >
> > Here's a patch.
>
> LGTM, thanks.

Pushed as 551051596f.





reply via email to

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