inferior-haskell-load-file breaks on buffers without a file
deniz.a.m.dogan at gmail.com
Thu Jan 21 09:34:32 EST 2010
The function inferior-haskell-load-file breaks when run in a buffer
without a file associated to it. It's trivial to "fix", so I won't
supply a patch for it. Just use something like:
(defun inferior-haskell-load-file (&optional reload)
(let ((buf (current-buffer))
;; New "if" here!
(with-current-buffer (process-buffer proc)
(error "No file associated with buffer"))))
Apologies for GMail messing with line breaks and such.
More information about the Haskellmode-emacs