org-table: Do not look after CONSTANTS in Orgtbl mode
commit0b74864bfb3b4f08d5b297d2b63d9cbc17120e58
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 10 Oct 2014 14:27:56 +0000 (10 16:27 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 28 Oct 2014 13:23:52 +0000 (28 14:23 +0100)
treef87c63551191fcdeb1a1d562eb0fb4dd4a19b16a
parentfd877468368a41d8600c740c6687448923bfec88
org-table: Do not look after CONSTANTS in Orgtbl mode

* lisp/org-table.el (orgtbl-ctrl-c-ctrl-c): Do not set constants.

Orgtbl provides limited support for Org tables in an arbitrary major
mode.  Any Org syntax outside tables, including keywords, cannot be
supported in this environment.  Therefore there is no point to look
for CONSTANTS keywords.  Moreover, constants can be defined within the
table.

This change allows to move `org-table-set-constants' feature to
`org-set-regexps-and-options' and treat CONSTANTS keyword like any
other keyword (e.g., defining it in a SETUPFILE).
lisp/org-table.el