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/lang
Jean-Christophe Petkovich 4a9083a109 Fix package loading in lang/ess
Originally `load-ess-on-demand` used `use-package` for the purposes of
actually loading `ess-site` and related elisp for dealing with R. But
since `use-package` doesn't return true or false when a package is
actually successfully loaded anymore, and the semantics of how it will
work aren't precisely clear, it makes sense to use `require` here
instead.

    (defun load-ess-on-demand ()
      (interactive)
      (-all? '---truthy? (list
                          (require 'ess-site)
                          (require 'ess-R-object-popup)
                          (require 'ess-R-data-view))))

All the normal hooks setup by `use-package` will work as normal. I
actually don't see a reason we should use `use-package` instead of
`require` in this specific instance. Since `use-package` often defers
loading packages, it's arguably clearer to use `require` in this
particular instance.
2015-05-06 22:27:38 -04:00
..
autohotkey Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
c-c++ Remove unnecessary auto-mode-alist additions 2015-05-02 22:01:43 -04:00
clojure Smarter buffer switching. 2015-04-22 23:12:45 -04:00
csharp Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
erlang-elixir Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
ess Fix package loading in lang/ess 2015-05-06 22:27:38 -04:00
extra-langs Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
fsharp Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
go Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
haskell haskell layer: fix haskell-snippets loading 2015-05-04 00:27:13 -04:00
html html layer: move html/init-company-web 2015-05-06 22:16:18 -04:00
javascript Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
lua Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
markdown Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
ocaml Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
php Fix ggtags eldoc integration 2015-04-26 00:45:58 -04:00
purescript Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
python [quickfix] Remove Extra parenthesis in condition 2015-05-02 21:59:00 -04:00
racket Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
ruby Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
scala Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
shell-scripts Reload dotfile and layer anywhere with SPC f e R 2015-04-18 23:40:24 -04:00
sql sql: use Helm to select dialect/client 2015-04-25 01:37:47 -04:00
windows-scripts Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00