On Fri 14 Jun 2019 at 13:31, npostavs@gmail.com wrote: > Alex Branham 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? Oh, of course. Here it is with (point-min), which should work I think. Alex