emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 895e0ba: ob-gnuplot: Fix regression from 23d8d59df


From: ELPA Syncer
Subject: [elpa] externals/org 895e0ba: ob-gnuplot: Fix regression from 23d8d59df when ox-org is not loaded
Date: Thu, 16 Dec 2021 21:57:34 -0500 (EST)

branch: externals/org
commit 895e0baadf65832ccdbf0587fc5abc3785d67ec2
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    ob-gnuplot: Fix regression from 23d8d59df when ox-org is not loaded
    
    * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Require
    ox-org, making sure that org export backend is available.
---
 lisp/ob-gnuplot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index b72126a..17af2ae 100644
--- a/lisp/ob-gnuplot.el
+++ b/lisp/ob-gnuplot.el
@@ -284,6 +284,7 @@ then create one.  Return the initialized session.  The 
current
 (defun org-babel-gnuplot-table-to-data (table data-file params)
   "Export TABLE to DATA-FILE in a format readable by gnuplot.
 Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE."
+  (require 'ox-org)
   (with-temp-file data-file
     (insert (let ((org-babel-gnuplot-timestamp-fmt
                   (or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]