Skip to content

Instantly share code, notes, and snippets.

@hadronzoo
Created December 18, 2011 19:38
Show Gist options
  • Save hadronzoo/1494240 to your computer and use it in GitHub Desktop.
Save hadronzoo/1494240 to your computer and use it in GitHub Desktop.
imaxima.el patch for OS X
diff --git a/interfaces/emacs/imaxima/imaxima.el b/interfaces/emacs/imaxima/imaxima.el
index e3feaa6..3a52a0b 100644
--- a/interfaces/emacs/imaxima/imaxima.el
+++ b/interfaces/emacs/imaxima/imaxima.el
@@ -296,6 +296,8 @@ nil means no scaling at all, t allows any scaling."
(temp-directory))
((eql system-type 'cygwin)
"/tmp/")
+ ((eql system-type 'darwin)
+ "/tmp/")
(t temporary-file-directory))
"*Directory used for temporary TeX and image files."
:type '(directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment