diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-25 06:30:18 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-25 06:30:18 +0200 |
commit | 14d8c6f7b13f3237aa5e54f5c16ef0a9189c0459 (patch) | |
tree | 89a192337c56ed3f117650ac242ce55705eb0144 /lisp/org/org-plot.el | |
parent | 948275b4d4e30d98c7ebd215d6b8cc14ce8a6019 (diff) | |
parent | ba70d0f77c52d471bceb2ad2cc7bc172db348abb (diff) | |
download | emacs-14d8c6f7b13f3237aa5e54f5c16ef0a9189c0459.tar.gz emacs-14d8c6f7b13f3237aa5e54f5c16ef0a9189c0459.tar.bz2 emacs-14d8c6f7b13f3237aa5e54f5c16ef0a9189c0459.zip |
Merge from origin/emacs-28
ba70d0f77c Update to Org 9.5.4-17-g6e991f
Diffstat (limited to 'lisp/org/org-plot.el')
-rw-r--r-- | lisp/org/org-plot.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el index 7cce678a81b..c2da24266ab 100644 --- a/lisp/org/org-plot.el +++ b/lisp/org/org-plot.el @@ -682,9 +682,10 @@ line directly before or after the table." (looking-at "[[:space:]]*#\\+")) (setf params (org-plot/collect-options params)))) ;; Dump table to datafile - (if-let ((dump-func (plist-get type :data-dump))) - (funcall dump-func table data-file num-cols params) - (org-plot/gnuplot-to-data table data-file params)) + (let ((dump-func (plist-get type :data-dump))) + (if dump-func + (funcall dump-func table data-file num-cols params) + (org-plot/gnuplot-to-data table data-file params))) ;; Check type of ind column (timestamp? text?) (when (plist-get params :check-ind-type) (let* ((ind (1- (plist-get params :ind))) |