* lisp/dired-x.el (dired-omit-here-always): Replace undefined function

removed 2016-01-30.

; Do not merge to master.
This commit is contained in:
Glenn Morris 2016-03-16 17:36:57 -04:00
parent ce533897e0
commit 253929fee3

View file

@ -819,9 +819,8 @@ If in a Dired buffer, reverts it."
replace it with a dir-locals-file `./%s.el'"
dired-local-variables-file
dir-locals-file))
(if (dir-locals--all-files default-directory)
(message "File `./%s' already exists."
(car (dir-locals--all-files default-directory)))
(if (file-exists-p dir-locals-file)
(message "File `./%s' already exists." dir-locals-file)
(add-dir-local-variable 'dired-mode 'subdirs nil)
(add-dir-local-variable 'dired-mode 'dired-omit-mode t)
;; Run extra-hooks and revert directory.