]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
Rename basic-mode-hooks to visual-basic-mode-hooks, fix indentation.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Nov 2012 18:14:31 +0000 (13:14 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Nov 2012 18:14:31 +0000 (13:14 -0500)
mode-hooks.el
mode-hooks/basic-mode-hooks.el [deleted file]
mode-hooks/visual-basic-mode-hooks.el [new file with mode: 0644]

index 0e56534343b00057ce3c0c2ef36f30dd4aa68a5c..3d8367801c5de2f56640b8ec3d776cc11b5fce02 100644 (file)
@@ -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 (file)
index 7633e4f..0000000
+++ /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 (file)
index 0000000..2a0e750
--- /dev/null
@@ -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))