diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-03-01 08:22:18 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-03-01 08:22:18 -0700 |
commit | 0de593757cbd13c90acf6fedfe413340f00b1c5a (patch) | |
tree | 816054269de8c8ec3b6211847485779df6b805bd | |
parent | 32cd86f60d29e285074cf85dc4635933bfbb0029 (diff) | |
download | org-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.el | 2 |
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) |