org-table: Small optimization
commitd4d9e90d198764ae3824989a5bf6620527a00cab
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 29 Dec 2017 23:57:28 +0000 (30 00:57 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 29 Dec 2017 23:58:11 +0000 (30 00:58 +0100)
treea282f749fbab595836ff689ec7fa0f324eef7303
parent2fb65b73b638ab3b9200768319db58d54a969f3b
org-table: Small optimization

* lisp/org-table.el (org-table-check-inside-data-field): Add optional
  argument.
(org-table-find-dataline): Do not call `org-at-table-p' needlessly.
(org-table-delete-column):
(org-table-move-column):
(org-table-copy-region):
(org-table-eval-formula): Use new argument.
(org-table-force-dataline): Small refactoring.

This patch limits the number of calls to `org-at-table-p'.
lisp/org-table.el