org-clock.el: fix regex to recognize indented clock tables
commitfee2c2c8dab57bf11ad34526f1364154f57fb020
authorAchim Gratz <Stromeko@nexgo.de>
Mon, 15 Nov 2010 23:17:50 +0000 (16 00:17 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 16 Nov 2010 09:22:57 +0000 (16 10:22 +0100)
treeeb9bc329739009c9fed7a002ec5b220033655877
parent5dd4d30be50d3773ab931dd34a507b22363dd840
org-clock.el: fix regex to recognize indented clock tables

* lisp/org-clock.el (org-get-clocktable):
(org-in-clocktable-p):
(org-clocktable-shift):
(org-clocktable-steps): Fix regexp to allow for indented clock tables

 #+BEGIN: and #+END: were expected only at the first column in some
   places.
 #BEGIN: and #END: were erroneously recognized inside normal lines in
   other instances.
 always allow whitespace after #BEGIN: and #END:, not just a single space

TINYCHANGE - This patch is in the public domain.
lisp/org-clock.el