ghc-mod 4.1.3 → 4.1.4
raw patch · 4 files changed
+11/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- elisp/ghc-comp.el +1/−1
- elisp/ghc-process.el +1/−1
- elisp/ghc.el +7/−4
- ghc-mod.cabal +2/−2
elisp/ghc-comp.el view
@@ -168,7 +168,7 @@ (ghc-reset-window-configuration) (ghc-save-window-configuration) (with-output-to-temp-buffer ghc-completion-buffer-name- (display-completion-list list pattern))))))))+ (display-completion-list list)))))))) (defun ghc-save-window-configuration () (unless (get-buffer-window ghc-completion-buffer-name)
elisp/ghc-process.el view
@@ -63,7 +63,7 @@ (t cpro))) (defun ghc-start-process (name buf)- (let ((pro (start-file-process name buf ghc-interactive-command "-b" "\n" "-l")))+ (let ((pro (start-file-process name buf ghc-interactive-command "-l" "-b" "\"\n\""))) (set-process-filter pro 'ghc-process-filter) (set-process-sentinel pro 'ghc-process-sentinel) (set-process-query-on-exit-flag pro nil)
elisp/ghc.el view
@@ -28,7 +28,7 @@ (< emacs-minor-version minor))) (error "ghc-mod requires at least Emacs %d.%d" major minor))) -(defconst ghc-version "4.1.1")+(defconst ghc-version "4.1.4") ;; (eval-when-compile ;; (require 'haskell-mode))@@ -116,13 +116,14 @@ (defun ghc-debug () (interactive) (let ((el-path (locate-file "ghc.el" load-path))- (ghc-path (executable-find "ghc"))+ (ghc-path (executable-find "ghc")) ;; FIXME (ghc-mod-path (executable-find ghc-module-command)) (ghc-modi-path (executable-find ghc-interactive-command)) (el-ver ghc-version) (ghc-ver (ghc-run-ghc-mod '("--version") "ghc")) (ghc-mod-ver (ghc-run-ghc-mod '("version")))- (ghc-modi-ver (ghc-run-ghc-mod '("version") ghc-interactive-command)))+ (ghc-modi-ver (ghc-run-ghc-mod '("version") ghc-interactive-command))+ (path (getenv "PATH"))) (switch-to-buffer (get-buffer-create "**GHC Debug**")) (erase-buffer) (insert "Path: check if you are using intended programs.\n")@@ -134,6 +135,8 @@ (insert (format "\t ghc.el version %s\n" el-ver)) (insert (format "\t %s\n" ghc-mod-ver)) (insert (format "\t%s\n" ghc-modi-ver))- (insert (format "\t%s\n" ghc-ver))))+ (insert (format "\t%s\n" ghc-ver))+ (insert "\nEnvironment variables:\n")+ (insert (format "\tPATH=%s\n" path)))) (provide 'ghc)
ghc-mod.cabal view
@@ -1,5 +1,5 @@ Name: ghc-mod-Version: 4.1.3+Version: 4.1.4 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3@@ -118,7 +118,7 @@ Type: exitcode-stdio-1.0 Default-Language: Haskell2010 HS-Source-Dirs: test- Ghc-Options: -threaded -Wall+ Ghc-Options: -Wall Main-Is: doctests.hs Build-Depends: base , doctest >= 0.9.3