Browse Source

ob-emacs-lisp: whitespace cleanup <=80 columns

* lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): whitespace
  (org-babel-execute:emacs-lisp): whitespace
Eric Schulte 9 years ago
parent
commit
539c804457
1 changed files with 8 additions and 4 deletions
  1. 8 4
      lisp/ob-emacs-lisp.el

+ 8 - 4
lisp/ob-emacs-lisp.el

@@ -38,14 +38,16 @@
 
 (defun org-babel-expand-body:emacs-lisp (body params &optional processed-params)
   "Expand BODY according to PARAMS, return the expanded body."
-  (let* ((processed-params (or processed-params (org-babel-process-params params)))
+  (let* ((processed-params (or processed-params
+			       (org-babel-process-params params)))
          (vars (nth 1 processed-params))
          (result-params (nth 2 processed-params))
          (print-level nil) (print-length nil)
          (body (if (> (length vars) 0)
 		   (concat "(let ("
 			 (mapconcat
-			  (lambda (var) (format "%S" (print `(,(car var) ',(cdr var)))))
+			  (lambda (var)
+			    (format "%S" (print `(,(car var) ',(cdr var)))))
 			  vars "\n      ")
 			 ")\n" body ")")
 		 body)))
@@ -61,8 +63,10 @@
        (eval (read (format "(progn %s)"
 			   (org-babel-expand-body:emacs-lisp
 			    body params processed-params))))
-       (org-babel-pick-name (nth 4 processed-params) (cdr (assoc :colnames params)))
-       (org-babel-pick-name (nth 5 processed-params) (cdr (assoc :rownames params)))))))
+       (org-babel-pick-name (nth 4 processed-params)
+			    (cdr (assoc :colnames params)))
+       (org-babel-pick-name (nth 5 processed-params)
+			    (cdr (assoc :rownames params)))))))
 
 (provide 'ob-emacs-lisp)