Explorar el Código

babel: `org-babel-get-colnames' no longer requires hline

Eric Schulte hace 15 años
padre
commit
a3cc050a96
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      contrib/babel/lisp/org-babel.el

+ 1 - 1
contrib/babel/lisp/org-babel.el

@@ -666,7 +666,7 @@ Return a list (session vars result-params result-type colnames rownames)."
         column names"
   (if (equal 'hline (second table))
       (cons (cddr table) (car table))
-    (list table)))
+    (cons (cdr table) (car table))))
 
 (defun org-babel-get-rownames (table)
   "Return a cons cell, the `car' of which contains the TABLE less