X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=blobdiff_plain;f=.emacs;fp=.emacs;h=dbb5283042cb101ea1c34e56c8350aa503baa531;hp=8f88dc32afca085ae71f83038cf1b8d42c2ed054;hb=e3699823133532dc67243feb703d45e416f85806;hpb=3b0e6d0d13f8a4260eeb17a60b2dff298d750960 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))