]> git.eshelyaron.com Git - emacs.git/commit
Avoid a flyspell error if point is at beginning of buffer
authorAlex Branham <alex.branham@gmail.com>
Fri, 14 Jun 2019 18:15:36 +0000 (13:15 -0500)
committerAlex Branham <alex.branham@gmail.com>
Mon, 17 Jun 2019 19:03:33 +0000 (14:03 -0500)
commit1942f4ccba52896e3e97789dc6b51926ad74c591
treecfb1ed58f1576ef7aa6603a53ba643c0fe738e50
parent44a086e5ccb920bb5a310079130ce1eaabdfe4ce
Avoid a flyspell error if point is at beginning of buffer

* lisp/textmodes/flyspell.el (flyspell-generic-progmode-verify): Check
if point is at the beginning of the buffer.  This prevents an error
when e.g. 'flyspell-auto-correct-word' gets called with point at the
beginning of the buffer.

Bug#35967
lisp/textmodes/flyspell.el