Define missing init functions

This commit is contained in:
syl20bnr 2015-04-03 17:35:33 -04:00
parent 318bd23dc4
commit 5d8be137e7
9 changed files with 23 additions and 3 deletions

View File

@ -12,7 +12,6 @@
(defvar git-packages
'(
fringe-helper
gitattributes-mode
gitconfig-mode
gitignore-mode

View File

@ -51,3 +51,5 @@ which require an initialization must be listed explicitly in the list.")
"ml" 'erc-list-command
"mp" 'erc-part-from-channel
"mq" 'erc-quit-server))))
(defun erc/init-erc-terminal-notifier ())

View File

@ -127,6 +127,10 @@ not play nicely with autoloads"
(define-key inferior-ess-mode-map (kbd "C-j") 'comint-next-input)
(define-key inferior-ess-mode-map (kbd "C-k") 'comint-previous-input))))
(defun ess/init-ess-R-data-view ())
(defun ess/init-ess-R-object-popup ())
(defun ess/init-rainbow-delimiters ()
(add-hook 'ess-mode-hook #'rainbow-delimiters-mode))

View File

@ -28,6 +28,8 @@ which require an initialization must be listed explicitly in the list.")
(add-hook 'tuareg-mode-hook #'merlin-mode)
)
(defun ocaml/init-merlin ())
;; (defun ocaml/init-flycheck-ocaml ()
;; (progn
;; (setq merlin-error-after-save nil)

View File

@ -20,7 +20,6 @@
'(
nose
pylookup
python-compile
))
;; Initialize the extensions

View File

@ -239,7 +239,7 @@ which require an initialization must be listed explicitly in the list.")
(defun python/init-flycheck ()
(add-hook 'python-mode-hook 'flycheck-mode))
(defun spacemacs/init-hy-mode ()
(defun python/init-hy-mode ()
(use-package hy-mode
:defer t))

View File

@ -164,6 +164,10 @@ which require an initialization must be listed explicitly in the list.")
(defun scala/disable-flycheck () (flycheck-mode -1))
(add-hook 'ensime-mode-hook 'scala/disable-flycheck))))))
(defun scala/init-noflet ())
(defun scala/init-sbt-mode ())
(defun scala/init-scala-mode2 ()
(use-package scala-mode2
:defer t

View File

@ -106,3 +106,6 @@ which require an initialization must be listed explicitly in the list.")
(defvar themes-megapack-excluded-packages '()
"List of packages to exclude.")
;; programmatically defin the init functions
(dolist (pkg themes-megapack-packages)
(eval `(defun ,(intern (format "themes-megapack/init-%S" pkg)) nil)))

View File

@ -55,6 +55,7 @@
flycheck
flycheck-pos-tip
flyspell
fringe-helper
golden-ratio
google-translate
guide-key-tip
@ -185,6 +186,8 @@ which require an initialization must be listed explicitly in the list.")
(evil-leader/set-key
"Sd" 'adict-change-dictionary))))
(defun spacemacs/init-base16-theme ())
(defun spacemacs/init-auto-highlight-symbol ()
(use-package auto-highlight-symbol
:defer t
@ -1125,6 +1128,8 @@ which require an initialization must be listed explicitly in the list.")
:config
(spacemacs|diminish flyspell-mode "" " S")))
(defun spacemacs/init-fringe-helper ())
(defun spacemacs/init-golden-ratio ()
(use-package golden-ratio
:defer t
@ -1599,6 +1604,8 @@ ignored)."
(evil-leader/set-key
"Th" 'helm-themes)))
(defun spacemacs/init-highlight-indentation ())
(defun spacemacs/init-highlight-numbers ()
(use-package highlight-numbers
:defer t