Skip to content

Instantly share code, notes, and snippets.

@tlockney
Created November 11, 2011 01:39
Show Gist options
  • Save tlockney/1356887 to your computer and use it in GitHub Desktop.
Save tlockney/1356887 to your computer and use it in GitHub Desktop.
Set up a frame for trying out simple haskell snippets
(defun make-quick-haskell-frame ()
"Creates a new frame running haskell-mode."
(make-frame '((name . "Quick Haskell")
(width . 120)
(height . 40)))
(select-frame-by-name "Quick Haskell")
(switch-to-buffer "Haskell")
(haskell-mode))
do shell script "/usr/local/Cellar/emacs/HEAD/Emacs.app/Contents/MacOS/bin/emacsclient -n -e '(make-quick-haskell-frame)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment