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

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

[elpa] externals/rec-mode 0b52532 18/98: ob-rec: support for :sort and m


From: Stefan Monnier
Subject: [elpa] externals/rec-mode 0b52532 18/98: ob-rec: support for :sort and minor fixes.
Date: Thu, 12 Nov 2020 13:18:32 -0500 (EST)

branch: externals/rec-mode
commit 0b5253227e883e2967ff9c73295809534c13332d
Author: Jose E. Marchesi <jemarch@gnu.org>
Commit: Antoine Kalmbach <ane@iki.fi>

    ob-rec: support for :sort and minor fixes.
---
 etc/ob-rec.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/etc/ob-rec.el b/etc/ob-rec.el
index c5e0dbe..30ebc61 100644
--- a/etc/ob-rec.el
+++ b/etc/ob-rec.el
@@ -5,7 +5,7 @@
 ;; Author: Jose E. Marchesi
 ;; Keywords: literate programming, reproducible research
 ;; Homepage: http://orgmode.org
-;; Version: 7.4
+;; Version: 7.7
 
 ;; This file is NOT part of GNU Emacs.
 
@@ -65,7 +65,9 @@ This function is called by `org-babel-execute-src-block'."
       (if do-raw
           (buffer-string)
        (org-table-convert-region (point-min) (point-max) '(4))
-        (org-table-to-lisp)))))
+        (let ((table (org-table-to-lisp)))
+          ;; The first row always contains the table header.
+          (cons (car table) (cons 'hline (cdr table))))))))
     
 (provide 'ob-rec)
 



reply via email to

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