Move pony settings to init.org

This commit is contained in:
Tom Willemse 2015-06-29 13:29:28 +02:00
parent eb0dd10126
commit cab9a4bcf3

View file

@ -30,7 +30,6 @@
;;;; Autoloads ;;;; Autoloads
(autoload 'pony-mode "pony-mode" nil t)
(autoload 'sawfish-mode "sawfish" nil t) (autoload 'sawfish-mode "sawfish" nil t)
(autoload 'tagedit-mode "tagedit" nil t) (autoload 'tagedit-mode "tagedit" nil t)
(autoload 'tern-mode "tern" nil t) (autoload 'tern-mode "tern" nil t)
@ -777,10 +776,6 @@ If no direction is given, don't split."
"Function for `term-mode-hook'." "Function for `term-mode-hook'."
(setq truncate-lines nil)) (setq truncate-lines nil))
(defun oni:turn-on-compilation-shell-for-pony ()
"Turn on option `compilation-shell-minor-mode' for `pony-minor-mode'."
(add-hook 'pony-minor-mode-hook 'compilation-shell-minor-mode nil t))
(defun oni:upcase-prev (num) (defun oni:upcase-prev (num)
(interactive "p") (interactive "p")
(oni:change-prev-case num 'up)) (oni:change-prev-case num 'up))
@ -1301,7 +1296,6 @@ from myaethon2.core.decorators import (
(add-hook 'after-save-hook 'oni:after-save-func t) (add-hook 'after-save-hook 'oni:after-save-func t)
(add-hook 'before-save-hook 'oni:before-save-func) (add-hook 'before-save-hook 'oni:before-save-func)
(add-hook 'comint-mode-hook #'oni:turn-on-compilation-shell-for-pony)
(add-hook 'css-mode-hook #'rainbow-mode) (add-hook 'css-mode-hook #'rainbow-mode)
(add-hook 'diary-display-hook 'oni:diary-display-func) (add-hook 'diary-display-hook 'oni:diary-display-func)
(add-hook 'flycheck-mode-hook #'flycheck-cask-setup) (add-hook 'flycheck-mode-hook #'flycheck-cask-setup)