Minor refactors across the board

This commit is contained in:
Henrik Lissner 2019-04-26 17:42:44 -04:00
parent ac55b6a826
commit 6b69eaa397
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 29 additions and 26 deletions

View file

@ -34,9 +34,6 @@
(let (buffer-read-only)
(forward-line 2) ;; beyond dir. header
(sort-regexp-fields t "^.*$" "[ ]*." (point) (point-max))))
(and (featurep 'xemacs)
(fboundp 'dired-insert-set-properties)
(dired-insert-set-properties (point-min) (point-max)))
(set-buffer-modified-p nil))
(add-hook 'dired-after-readin-hook #'+dired|sort-directories-first)