From 11f99651a8a214fc7d8bc32cf822b088b5917d4c Mon Sep 17 00:00:00 2001 From: Michael Borden Date: Tue, 10 Dec 2013 01:49:57 -0800 Subject: [PATCH] Stricter greedy matching and validity checking Fixed period matching, stricter matching on directories, and fixed greedy star character matching only #s Note: Fairly sure that Emacs doesn't make ?\#* or .*\.\#* files on line 9 and instead matches filename.#extension --- Global/Emacs.gitignore | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Global/Emacs.gitignore b/Global/Emacs.gitignore index 9e44d0a8..cbb0a831 100644 --- a/Global/Emacs.gitignore +++ b/Global/Emacs.gitignore @@ -1,23 +1,23 @@ # -*- mode: gitignore; -*- -*~ -\#*\# -/.emacs.desktop -/.emacs.desktop.lock -*.elc +.*~ +\#.*\# +\/\.emacs\.desktop +\/\.emacs\.desktop\.lock +.*\.elc auto-save-list tramp -.\#* +\.\#.* # Org-mode -.org-id-locations -*_archive +\.org-id-locations +.*_archive # flymake-mode -*_flymake.* +.*_flymake\..* # eshell files -/eshell/history -/eshell/lastdir +\/eshell\/history +\/eshell\/lastdir # elpa packages -/elpa/ +\/elpa\/