diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-04-05 20:58:23 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-04-05 20:58:23 +0900 |
commit | 3220bddc7a3c845f52cc1646a06c6cb60de9bb4f (patch) | |
tree | 90ca58d257ebdc9adc350e8f2ee45814ea43eb2f | |
parent | 9e76004f4580928663488bab689c370f55c7a1e5 (diff) | |
download | dotfiles-3220bddc7a3c845f52cc1646a06c6cb60de9bb4f.tar.gz |
fix: major-mode a var not a function
-rw-r--r-- | .emacs.d/init-haskell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init-haskell.el b/.emacs.d/init-haskell.el index e3b13201..7bb41027 100644 --- a/.emacs.d/init-haskell.el +++ b/.emacs.d/init-haskell.el @@ -114,7 +114,7 @@ (defun spw/haskell-cabal-mode-save-hook () "Regenerate shell.nix if it exists." (interactive) - (when (and (eq (major-mode) 'haskell-cabal-mode) + (when (and (eq major-mode 'haskell-cabal-mode) (f-exists? (f-join default-directory "shell.nix"))) (call-process "/bin/sh" nil t nil "-c" "cabal2nix --shell . > shell.nix"))) |