This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib
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
..
ansible Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
auctex Edit auctex layer README 2015-02-27 22:54:11 -05:00
colors Fix compatibility with use-package 2.0 2015-03-15 18:51:18 -04:00
company-mode Remove company-semantic to conform with Spacemacs 2015-03-20 04:20:25 -04:00
dash Refactor dash layer 2015-03-13 23:16:40 -04:00
dockerfile Update logos for fsharp and dockerfile 2015-03-16 23:56:14 -04:00
evernote Add a binding for geeknote-move and update the readme 2015-03-02 18:39:41 -05:00
evil-commentary Slight edition of evil-commentary readme 2015-03-20 21:22:02 -04:00
evil-snipe Set evil-snipe-override-evil. 2015-03-14 22:55:39 -04:00
fasd fasd layer: add file-only, directory-only functions and helm-completion 2015-03-13 22:09:34 -04:00
finance Add more key bindings for ledger-mode 2015-02-19 23:07:03 -05:00
floobits Declare floobits prefix description 2015-03-16 23:56:24 -04:00
git Fix up some use-package forms 2015-03-15 00:14:47 -04:00
lang Fix for flycheck-haskell-setup autoload 2015-03-20 21:37:38 -04:00
org-repo-todo Reassigning keybindings for evil-leader 2014-11-30 23:46:57 -05:00
osx Closes #616, syntax error in osx layer snippet 2015-02-17 22:23:16 -05:00
pcre2el Add function for easy declaration of prefix commands 2014-11-30 21:05:39 -05:00
perforce Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
perspectives Refactor rcirc-config for spacemacs/rcirc 2015-03-15 22:54:34 -04:00
ranger-control Rename README2.md to README.md 2015-01-11 23:20:45 -05:00
rcirc Fix lazy loading of rcirc 2015-03-18 00:29:09 -04:00
restclient Add restclient contribution layer 2014-11-27 17:37:13 -05:00
slime Lazy load slime layer 2015-03-08 23:43:40 -04:00
smex Define dotspacemacs-command-key key-bindings in an after-init-hook 2015-03-03 00:14:00 -05:00
themes-megapack Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
tmux Add tmux contrib layer 2015-03-02 18:39:16 -05:00
usr Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
vagrant Lazy load vagrant-tramp 2015-03-08 23:37:31 -04:00
vim-empty-lines Add ess-mode-hook. 2015-02-27 20:36:27 -05:00
ycmd Refactor ycmd layer for lazy loading 2015-03-15 21:43:31 -04:00