emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master 3d0a12e 13/24: Fix el-search--ensure-sexp-start error


From: Michael Heerdegen
Subject: Re: [elpa] master 3d0a12e 13/24: Fix el-search--ensure-sexp-start error at bob
Date: Fri, 20 May 2016 16:20:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> > +                                    (and (> (point) n)
> > +                                         (save-excursion
> > +                                           (backward-char n)
>
> If you want to avoid the error that backward-char can signal, you need
> to take into account that the buffer might be narrowed, so (> (point)
> n) is not sufficient, i.e. you need something like (<= n (- (point)
> (point-min)))

Indeed.  I'll upload the fix soon.


Thanks,

Michael.




reply via email to

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