Browse Source

fix whitespace errors

Eric Schulte 13 years ago
parent
commit
7720786c41
3 changed files with 7 additions and 9 deletions
  1. 6 6
      lisp/ob-maxima.el
  2. 1 2
      testing/examples/ob-maxima-test.org
  3. 0 1
      testing/lisp/test-ob-maxima.el

+ 6 - 6
lisp/ob-maxima.el

@@ -47,9 +47,9 @@
 		(list
 		 ;; graphic output
 		 (let ((graphic-file (org-babel-maxima-graphical-output-file params)))
-		   (if graphic-file  
-		       (format 
-			"set_plot_option ([gnuplot_term, png]); set_plot_option ([gnuplot_out_file, %S]);" 
+		   (if graphic-file
+		       (format
+			"set_plot_option ([gnuplot_term, png]); set_plot_option ([gnuplot_out_file, %S]);"
 			graphic-file)
 		     ""))
 		 ;; variables
@@ -81,8 +81,8 @@ called by `org-babel-execute-src-block'."
 					   (= 0 (length line)))
 				 line))
 			     (split-string raw "[\r\n]"))) "\n"))
-	    (org-babel-eval cmd ""))))) 
-    (if (org-babel-maxima-graphical-output-file params) 
+	    (org-babel-eval cmd "")))))
+    (if (org-babel-maxima-graphical-output-file params)
 	nil
       (if (or (member "scalar" result-params)
 	      (member "verbatim" result-params)
@@ -105,7 +105,7 @@ of the same value."
       (setq val (symbol-name val))
       (when (= (length val) 1)
         (setq val (string-to-char val))))
-      (format "%S: %s$" var 
+      (format "%S: %s$" var
 	      (org-babel-maxima-elisp-to-maxima val))))
 
 (defun org-babel-maxima-graphical-output-file (params)

+ 1 - 2
testing/examples/ob-maxima-test.org

@@ -61,7 +61,7 @@ print(s+1.0);
 #+end_src
 
 Matrix
-#+tblname: test_tbl_mtr 
+#+tblname: test_tbl_mtr
 | 1.0 | 1.0 |
 
 #+begin_src maxima :var s=test_tbl_mtr :results silent :results verbatim
@@ -88,4 +88,3 @@ tex(ratsimp(diff(%e^(a*x), x)));
 #+BEGIN_LaTeX
 $$a\,e^{a\,x}$$
 #+END_LaTeX
-

+ 0 - 1
testing/lisp/test-ob-maxima.el

@@ -79,4 +79,3 @@
 (provide 'test-ob-maxima)
 
 ;;; test-ob-maxima.el ends here
-