]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - .emacs
mode-hooks.el: add dns-mode hooks
[emacs.d.git] / .emacs
diff --git a/.emacs b/.emacs
index 1b48bd7615dfcac916c2328abf9679cb4a0cd5c3..dbb5283042cb101ea1c34e56c8350aa503baa531 100644 (file)
--- a/.emacs
+++ b/.emacs
 (put 'downcase-region 'disabled nil)
 
 ;; I want to see trailing whitespace.
-(custom-set-variables '(show-trailing-whitespace t))
+(setq-default show-trailing-whitespace t)
+
+;; Don't ignore .git directories when tab-completing filenames, for
+;; two reasons. First, it's nice to be able to tell that a directory
+;; is a git repository from the output of "ls", and giving them a .git
+;; suffix is an easy way to do that. Second, editing .git/config is
+;; the easiest way to do a lot of things in git.
+(setq completion-ignored-extensions
+      (remove ".git/" completion-ignored-extensions))