From: Michael Orlitzky Date: Fri, 30 Nov 2012 18:14:31 +0000 (-0500) Subject: Rename basic-mode-hooks to visual-basic-mode-hooks, fix indentation. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=9c53c8cc7f76aa6ae3f4028176c65a4ab84e3431;p=emacs.d.git Rename basic-mode-hooks to visual-basic-mode-hooks, fix indentation. --- diff --git a/mode-hooks.el b/mode-hooks.el index 0e56534..3d83678 100644 --- a/mode-hooks.el +++ b/mode-hooks.el @@ -1,6 +1,5 @@ (add-to-list 'load-path "~/.home/emacs/mode-hooks/") -(load-library "basic-mode-hooks") (load-library "csharp-mode-hooks") (load-library "css-mode-hooks") (load-library "js-mode-hooks") @@ -8,3 +7,4 @@ (load-library "haskell-mode-hooks") (load-library "nxml-mode-hooks") (load-library "ruby-mode-hooks") +(load-library "visual-basic-mode-hooks") \ No newline at end of file diff --git a/mode-hooks/basic-mode-hooks.el b/mode-hooks/basic-mode-hooks.el deleted file mode 100644 index 7633e4f..0000000 --- a/mode-hooks/basic-mode-hooks.el +++ /dev/null @@ -1,6 +0,0 @@ -(defun bm-set-indent-level() - (setq basic-indent-level 2) - ) - - -(add-hook 'basic-mode-hook (function bm-set-indent-level)) diff --git a/mode-hooks/visual-basic-mode-hooks.el b/mode-hooks/visual-basic-mode-hooks.el new file mode 100644 index 0000000..2a0e750 --- /dev/null +++ b/mode-hooks/visual-basic-mode-hooks.el @@ -0,0 +1,6 @@ +(defun vbm-set-indent-level() + (setq visual-basic-mode-indent 2) + ) + + +(add-hook 'visual-basic-mode-hook (function vbm-set-indent-level))