Emacs customization variables moved into .emacs.d directory
Stefan Bund [Fri, 9 Dec 2011 09:59:18 +0000 (10:59 +0100)]
.gitignore
dot-emacs-sample.el [new file with mode: 0644]
emacs-custom.el [moved from .emacs with 94% similarity]
setup/00init.el [new file with mode: 0644]

index 83cadb3..1902f2c 100644 (file)
@@ -4,4 +4,3 @@ auto-save-list/
 eshell/
 *.elc
 server
-
diff --git a/dot-emacs-sample.el b/dot-emacs-sample.el
new file mode 100644 (file)
index 0000000..6a16166
--- /dev/null
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "~/.emacs.d")
+(require 'load-dir)
+(load-dir "~/.emacs.d/setup")
similarity index 94%
rename from .emacs
rename to emacs-custom.el
index 4b30749..346a8d9 100644 (file)
--- a/.emacs
@@ -1,9 +1,3 @@
-(add-to-list 'load-path "~/.emacs.d")
-(add-to-list 'load-path "~/.emacs.d/auto-install")
-
-(require 'load-dir)
-(load-dir "~/.emacs.d/setup")
-
 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
@@ -33,6 +27,7 @@
  '(global-visual-line-mode t)
  '(global-whitespace-mode nil)
  '(ido-mode (quote both) nil (ido))
+ '(indent-tabs-mode nil)
  '(ispell-extra-args (quote ("--sug-mode=ultra")))
  '(ispell-program-name "c:/cygwin/bin/aspell.exe")
  '(ls-lisp-dirs-first t)
diff --git a/setup/00init.el b/setup/00init.el
new file mode 100644 (file)
index 0000000..db08ade
--- /dev/null
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "~/.emacs.d/auto-install")
+(setq custom-file "~/.emacs.d/emacs-custom.el")
+(load custom-file)