|
From: | npostavs |
Subject: | bug#35967: [PATCH] avoid flyspell error if point is at bob |
Date: | Fri, 14 Jun 2019 14:31:55 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) |
Alex Branham <alex.branham@gmail.com> writes: > Here's a new patch that checks for (equal (point) 1) rather than using > bobp. OK to push to master? > + (unless (eql (point) 1) > + ;; (point) is next char after the word. Must check one char before. > + (let ((f (get-text-property (- (point) 1) 'face))) This will do the wrong thing when point is at the beginning of a narrowed buffer. Score one point for bobp?
[Prev in Thread] | Current Thread | [Next in Thread] |