[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: |
Stefan Monnier |
Subject: |
Re: [elpa] master 3d0a12e 13/24: Fix el-search--ensure-sexp-start error at bob |
Date: |
Thu, 19 May 2016 20:10:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> + (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)))
Stefan
- Re: [elpa] master 3d0a12e 13/24: Fix el-search--ensure-sexp-start error at bob,
Stefan Monnier <=