summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-11-08 13:52:11 -0700
committerEric Schulte <schulte.eric@gmail.com>2011-11-08 13:52:11 -0700
commit7720786c41c950ce0cfca7ca0126974c4a602a26 (patch)
treebe0e482e78c9f965d4152db289e2a3b3d3c752be
parentfddd85a172649846de66d9b486abb2aacb3cdfe8 (diff)
downloadorg-mode-7720786c41c950ce0cfca7ca0126974c4a602a26.tar.gz
fix whitespace errors
-rw-r--r--lisp/ob-maxima.el12
-rw-r--r--testing/examples/ob-maxima-test.org3
-rw-r--r--testing/lisp/test-ob-maxima.el1
3 files changed, 7 insertions, 9 deletions
diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el
index 9c39a5f..f14cf55 100644
--- a/lisp/ob-maxima.el
+++ b/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)
diff --git a/testing/examples/ob-maxima-test.org b/testing/examples/ob-maxima-test.org
index ad5fc80..244f018 100644
--- a/testing/examples/ob-maxima-test.org
+++ b/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
-
diff --git a/testing/lisp/test-ob-maxima.el b/testing/lisp/test-ob-maxima.el
index dff4033..a63908c 100644
--- a/testing/lisp/test-ob-maxima.el
+++ b/testing/lisp/test-ob-maxima.el
@@ -79,4 +79,3 @@
(provide 'test-ob-maxima)
;;; test-ob-maxima.el ends here
-