Browse Source

babel: Simplify reading of header argument values

	* ob.el (org-babel-parse-header-arguments): Simplify reading
	of header arg value
Dan Davison 14 years ago
parent
commit
82429ef406
1 changed files with 1 additions and 3 deletions
  1. 1 3
      lisp/ob.el

+ 1 - 3
lisp/ob.el

@@ -858,9 +858,7 @@ may be specified at the top of the current buffer."
                     "\\([^ \f\t\n\r\v]+\\)[ \f\t\n\r\v]+\\([^ \f\t\n\r\v]+.*\\)"
                     arg)
 		   (cons (intern (concat ":" (match-string 1 arg)))
-                         (let ((raw (org-babel-chomp (match-string 2 arg))))
-                           (if (org-babel-number-p raw)
-                               raw (org-babel-read raw))))
+                         (org-babel-read (org-babel-chomp (match-string 2 arg))))
 		 (cons (intern (concat ":" arg)) nil)))
 	     (split-string (concat " " arg-string) "[ \f\t\n\r\v]+:" t)))))