Align files after dired revert (Bug#17219)
* lisp/dired.el (dired-revert): Add 'dired--align-all-files' function call, to re-align files after reverting.
This commit is contained in:
parent
7809086b3b
commit
cce6a57af7
1 changed files with 2 additions and 1 deletions
|
@ -2159,7 +2159,8 @@ ARG and NOCONFIRM, passed from `revert-buffer', are ignored."
|
|||
(if (dired-goto-subdir dir)
|
||||
(dired-hide-subdir 1))))
|
||||
(unless modflag (restore-buffer-modified-p nil))
|
||||
(hack-dir-local-variables-non-file-buffer))
|
||||
(hack-dir-local-variables-non-file-buffer)
|
||||
(dired--align-all-files))
|
||||
;; outside of the let scope
|
||||
;;; Might as well not override the user if the user changed this.
|
||||
;;; (setq buffer-read-only t)
|
||||
|
|
Loading…
Add table
Reference in a new issue