spacemacs/contrib/lang
Jean-Christophe Petkovich f099537282 Fix for flycheck-haskell-setup autoload
I get the following backtrace after starting any mode that includes
flycheck initialization:

Debugger entered--Lisp error: (void-function flycheck-haskell-setup)
  flycheck-haskell-setup()
  run-hooks(flycheck-mode-hook flycheck-mode-on-hook)
  flycheck-mode()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer setup.py> "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" (11679577 2052))
  find-file-noselect("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil nil)
  find-file("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  find-file-at-point("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  helm-find-file-or-marked("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  ...
  ABBREVIATED HELM BACKTRACE
  ...
  helm-find-files-1("/home/jcp/" nil)
  helm-find-files(nil)
  call-interactively(helm-find-files nil nil)
  command-execute(helm-find-files)

By moving the `flycheck-mode-hook` manipulation to
`haskell/init-flycheck-haskell`, I no longer get this error.
2015-03-20 21:37:38 -04:00
..
autohotkey
c-c++ Lazy-loading for c-c++ layer 2015-03-15 21:44:10 -04:00
clojure Fix clojure lazy-loading 2015-03-15 23:48:47 -04:00
csharp
erlang-elixir Correctly lazy load ruby-end and fix its activation in ruby mode 2015-02-20 07:29:50 -05:00
ess Move ess-smart-equals to ess-packages 2015-03-02 18:37:34 -05:00
extra-langs
fsharp Add TOC in fsharp layer readme + resize the logo 2015-03-17 00:18:55 -04:00
go Block go-oracle configuration if go-oracle not found 2015-03-12 00:36:09 -04:00
haskell Fix for flycheck-haskell-setup autoload 2015-03-20 21:37:38 -04:00
html add sass-mode 2015-03-20 21:24:00 -04:00
javascript
lua
markdown Add markdown bindings documentation 2015-02-19 23:04:03 -05:00
ocaml
php
puppet
python activate inferior-python-mode in comint buffer 2015-03-14 23:57:39 -04:00
ruby Simplify ruby layer use-package 2015-03-15 23:48:58 -04:00
scala Scala: Enable eldoc in ENSIME mode 2015-02-20 22:55:37 +13:00
windows-scripts