summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-12-15 21:42:47 -0500
committerKyle Meyer <kyle@kyleam.com>2013-12-15 21:42:47 -0500
commit1882d81c506fbcff31af7bc766ee6d65afb22e3a (patch)
tree54b909d52a9dd61147618f37bd7d7be61b2fd8ab
parent697c602854326e8e230032aebb6ed913e8914c44 (diff)
downloademacs.d-1882d81c506fbcff31af7bc766ee6d65afb22e3a.tar.gz
Omit intermediate latex files in dired
-rw-r--r--init/km-dired.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/init/km-dired.el b/init/km-dired.el
index 30feff2..bfbeafa 100644
--- a/init/km-dired.el
+++ b/init/km-dired.el
@@ -7,6 +7,18 @@
;; exists
(setq dired-omit-files (concat dired-omit-files "\\|\\.git$\\|__pycache__"))
+(defvar km/latex-omit-extensions '(".aux"
+ ".fdb_latexmk"
+ ".fls"
+ ".log"
+ ".nav"
+ ".out"
+ ".snm")
+ "Intermediate LaTeX files")
+
+(setq dired-omit-extensions
+ (append dired-omit-extensions km/latex-omit-extensions))
+
(setq-default dired-omit-files-p t)
(setq dired-listing-switches "-alh")