branch: externals/rec-mode
commit 0b5253227e883e2967ff9c73295809534c13332d
Author: Jose E. Marchesi <[email protected]>
Commit: Antoine Kalmbach <[email protected]>
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)