Disable dante package if Emacs version is less than 25

fix #8985
This commit is contained in:
JAremko 2017-06-03 08:43:42 +03:00
parent 4489049cc2
commit 5ccbf4fbc5
2 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ itself.
*** =dante=
=dante= works for =cabal=, =nix=, =sytx=, and =stack= users.
=dante= requires Emacs 25.
*** =ghc-mod=
[[http://www.mew.org/~kazu/proj/ghc-mod/][ghc-mod]] enhances =haskell-mode= with for example code completion, templates,

View File

@ -26,7 +26,7 @@
hindent
hlint-refactor
intero
dante
(dante :toggle (version<= "25" emacs-version))
))
(defun haskell/init-cmm-mode ()