diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-06-05 15:37:37 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-06-05 15:37:37 -0700 |
commit | d8313d2234ef1969d5eb60efd83e80cfeba50956 (patch) | |
tree | 99365078d6c45917e1a9d033a2370b5919429ab0 /emacs.d/modules/module-puppet.el | |
parent | [vim] Add vim-airline for now (diff) | |
download | emacs.d-d8313d2234ef1969d5eb60efd83e80cfeba50956.tar.gz |
[emacs] Some major clean up.
Switch from `(require)` to `(load)`, which does not cause warning with flymake. Remove `:ensure t` since it's the default.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/modules/module-puppet.el | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/emacs.d/modules/module-puppet.el b/emacs.d/modules/module-puppet.el index 150ce19..025965b 100644 --- a/emacs.d/modules/module-puppet.el +++ b/emacs.d/modules/module-puppet.el @@ -1,14 +1,7 @@ -(require 'config-package) - -;; To setup flycheck in the GCP's repository: -;; ((puppet-mode -;; (flycheck-puppet-lint-rc .(expand-file-name "gcp-pupet-manifests/.puppet-lint.rc") fcuny/path-twitter-git))) - (use-package puppet-mode :mode ("\\.pp\\'" . puppet-mode) - - :init (add-hook 'puppet-mode-hook 'flycheck-mode)) - ;; :config - ;; (setq flycheck-puppet-lint-rc "/Users/fcuny/workspace/svn.twitter.biz/twitter-ops/utilities/puppet/.puppet-lint.rc")) + :init (add-hook 'puppet-mode-hook 'flycheck-mode) + :config + (setq flycheck-puppet-lint-rc "/Users/fcuny/workspace/svn.twitter.biz/twitter-ops/utilities/puppet/.puppet-lint.rc")) (provide 'module-puppet) |