summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-03-01 08:22:18 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-03-01 08:22:18 -0700
commit0de593757cbd13c90acf6fedfe413340f00b1c5a (patch)
tree816054269de8c8ec3b6211847485779df6b805bd
parent32cd86f60d29e285074cf85dc4635933bfbb0029 (diff)
downloadorg-mode-0de593757cbd13c90acf6fedfe413340f00b1c5a.tar.gz
plot: handles option lines starting after column 0
Thanks to Thomas Holst for the patch
-rw-r--r--lisp/org-plot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-plot.el b/lisp/org-plot.el
index e3b6631..e79f351 100644
--- a/lisp/org-plot.el
+++ b/lisp/org-plot.el
@@ -301,7 +301,7 @@ line directly before or after the table."
(setf table (delq 'hline (cdr table)))) ;; clean non-data from table
;; collect options
(save-excursion (while (and (equal 0 (forward-line -1))
- (looking-at "#\\+"))
+ (looking-at "[[:space:]]*#\\+"))
(setf params (org-plot/collect-options params))))
;; dump table to datafile (very different for grid)
(case (plist-get params :plot-type)