Function: org-plot/collect-options

org-plot/collect-options is an interactive and byte-compiled function defined in org-plot.el.gz.

Signature

(org-plot/collect-options &optional PARAMS)

Documentation

Collect options from an org-plot #+Plot: line.

Accepts an optional property list PARAMS, to which the options will be added. Returns the resulting property list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-plot.el.gz
(defun org-plot/collect-options (&optional params)
  "Collect options from an org-plot `#+Plot:' line.
Accepts an optional property list PARAMS, to which the options
will be added.  Returns the resulting property list."
  (interactive)
  (let ((line (thing-at-point 'line)))
    (if (string-match "#\\+PLOT: +\\(.*\\)$" line)
	(org-plot/add-options-to-plist params (match-string 1 line))
      params)))