summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-07 00:23:25 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-07 00:23:25 -0500
commit11a4f5928e851c87b6c1cf1de8b9f73e9c43b9ab (patch)
tree3144944dd45fe1e5554383fe3b7386ddbcbb7382
parentf2aeb55d1006305d52ccd473875aa7561c896dd6 (diff)
downloademacs.d-11a4f5928e851c87b6c1cf1de8b9f73e9c43b9ab.tar.gz
Use dired-omit-mode instead of dired-omit-files-p
`dired-omit-files-p' is obsolete. Also, I should have been using `setq-default' to set `dired-omit-files-p' since it is buffer local, but this was changed to `setq' when I was reorganizing.
-rw-r--r--lisp/init-dired.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-dired.el b/lisp/init-dired.el
index dbb5274..341d772 100644
--- a/lisp/init-dired.el
+++ b/lisp/init-dired.el
@@ -20,8 +20,8 @@
(setq dired-omit-extensions
(append dired-omit-extensions km/latex-omit-extensions))
-(setq dired-omit-files-p t
- dired-listing-switches "-alh")
+(setq-default dired-omit-mode t)
+(setq dired-listing-switches "-alh")
(setq dired-guess-shell-alist-user
'(("\\.pdf\\'" "zathura")))