[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-mode 020707430d 2/2: Merge pull request #1824 from
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-mode 020707430d 2/2: Merge pull request #1824 from Kariiem/master |
Date: |
Wed, 20 Sep 2023 04:00:17 -0400 (EDT) |
branch: elpa/haskell-mode
commit 020707430d40a216e1c7deea34082eb3897ba943
Merge: 5ae350d97f 936040d048
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>
Merge pull request #1824 from Kariiem/master
ghci-script-mode: Fix script loading by `ghci-script-mode-load`.
---
ghci-script-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ghci-script-mode.el b/ghci-script-mode.el
index 2ec905cd14..981060f2b9 100644
--- a/ghci-script-mode.el
+++ b/ghci-script-mode.el
@@ -55,9 +55,9 @@
(defun ghci-script-mode-load ()
"Load the current script file into the GHCi session."
(interactive)
- (let ((buffer (haskell-session-interactive-buffer (haskell-session)))
- (filename (buffer-file-name)))
- (save-buffer)
+ (save-buffer)
+ (let ((filename (buffer-file-name))
+ (buffer (haskell-session-interactive-buffer (haskell-session))))
(with-current-buffer buffer
(set-marker haskell-interactive-mode-prompt-start (point-max))
(haskell-interactive-mode-run-expr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/haskell-mode 020707430d 2/2: Merge pull request #1824 from Kariiem/master,
ELPA Syncer <=