org-table: Fix freeze with invalid hline reference
commit44744bba2c86f0b90fa08305479d6cbd0d8ef21e
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 30 Dec 2014 21:37:44 +0000 (30 22:37 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 30 Dec 2014 21:37:44 +0000 (30 22:37 +0100)
tree5560d3649b059c57fa05d434f2aeb5108703ea7c
parent1853fb546ddd4cdaed1c71c009cd59975ec54737
org-table: Fix freeze with invalid hline reference

* lisp/org-table.el (org-table-find-row-type): Don't end up on the
  last hline, which doesn't exist, per
  e793158bc8492752745170e20839ddbb613fcb63.

Reported-by: Artis Rozentāls <artis.rozentals@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/93654>
lisp/org-table.el