Permalink
Browse files

(inferior-haskell-load-file): Do reload if prefix arg.

Ignore-this: a285dbc266be011ea4773a0a21d4b1d5

darcs-hash:20070917180140-c2f2e-7339d6497e9cd2916687fb2d99e5fd50741f2408.gz
  • Loading branch information...
1 parent 6b792a8 commit 0294d90bebcadc59057ab847072e22abd11b1bb9 monnier committed Sep 17, 2007
Showing with 7 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +3 −2 inf-haskell.el
View
@@ -1,3 +1,7 @@
+2007-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * inf-haskell.el (inferior-haskell-load-file): Do reload if prefix arg.
+
2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* haskell-indent.el (turn-on-haskell-indent): Fix keymap setup code.
View
@@ -270,8 +270,9 @@ The process PROC should be associated to a comint buffer."
;;;###autoload
(defun inferior-haskell-load-file (&optional reload)
- "Pass the current buffer's file to the inferior haskell process."
- (interactive)
+ "Pass the current buffer's file to the inferior haskell process.
+If prefix arg \\[universal-argument] is given, just reload the previous file."
+ (interactive "p")
;; Save first, so we're sure that `buffer-file-name' is non-nil afterward.
(save-buffer)
(let ((buf (current-buffer))

0 comments on commit 0294d90

Please sign in to comment.