X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=blobdiff_plain;f=.emacs;h=94aa3148311b76b3720454097fce31b393c31d87;hp=1b48bd7615dfcac916c2328abf9679cb4a0cd5c3;hb=HEAD;hpb=85dd61d37b8dde63d32bc639822a814e61940f0f diff --git a/.emacs b/.emacs index 1b48bd7..dbb5283 100644 --- a/.emacs +++ b/.emacs @@ -90,4 +90,12 @@ (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))