Rewrite setup keywords initialization
commit61a241f0dc07aef5a3a5c2bd037a197236bde2e6
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 14 Oct 2014 08:53:29 +0000 (14 10:53 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 28 Oct 2014 13:23:52 +0000 (28 14:23 +0100)
treeb51936997acc7325dcb0a8367e407b465937b04d
parent0b74864bfb3b4f08d5b297d2b63d9cbc17120e58
Rewrite setup keywords initialization

* lisp/org-table.el (org-table-set-constants): Remove function.
* lisp/org.el (org-set-regexps-and-options): Rewrite function.  Merge
  it with `org-set-regexps-and-options-for-tags'.
(org-set-regexps-and-options-for-tags): Remove function
(org--setup-collect-keywords, org--setup-process-tags): New functions.
(org-mode): Remove `org-set-regexps-and-options-for-tags' call.
(org-agenda-prepare-buffers): Use optimized setup for tags in all
cases.  Improve docstring.
(org-make-options-regexp): Make returned regexp more efficient.
lisp/org-table.el
lisp/org.el