X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=blobdiff_plain;f=.emacs;h=94aa3148311b76b3720454097fce31b393c31d87;hp=8f88dc32afca085ae71f83038cf1b8d42c2ed054;hb=HEAD;hpb=ce1ee19a2d810d2ccc8bd4ab2cef72688728b5fa diff --git a/.emacs b/.emacs index 8f88dc3..dbb5283 100644 --- a/.emacs +++ b/.emacs @@ -91,3 +91,11 @@ ;; I want to see trailing whitespace. (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))