diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-02-07 00:23:25 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-02-07 00:23:25 -0500 |
commit | 11a4f5928e851c87b6c1cf1de8b9f73e9c43b9ab (patch) | |
tree | 3144944dd45fe1e5554383fe3b7386ddbcbb7382 /lisp | |
parent | f2aeb55d1006305d52ccd473875aa7561c896dd6 (diff) | |
download | emacs.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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-dired.el | 4 |
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"))) |