org-table: Fix error with `org-table-get-field' at bob
commit73330079c0ef4d7294500155a8df061398915e7b
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 1 Feb 2017 19:56:38 +0000 (1 20:56 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 1 Feb 2017 19:56:38 +0000 (1 20:56 +0100)
tree418175a38eca88cdae3d7ff99cbd2a78a332aac3
parent76c08ea77b4cb2f1dbe42b4a8003dfa457fdfdcb
org-table: Fix error with `org-table-get-field' at bob

* lisp/org-table.el (org-table-get-field): Do not return
  `beginning-of-buffer' error when called at beginning of buffer.

* testing/lisp/test-org-table.el (test-org-table/get-field): New test.
lisp/org-table.el
testing/lisp/test-org-table.el