1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* dired.el: (dired-mode): Set font-lock-defaults.

This commit is contained in:
Simon Marshall 1994-10-12 08:16:29 +00:00
parent 63a2daf6d0
commit 4481ae96a9

View file

@ -991,8 +991,7 @@ Keybindings:
(expand-file-name dired-directory))
(set (make-local-variable 'dired-actual-switches)
(or switches dired-listing-switches))
(make-local-variable 'font-lock-keywords)
(setq font-lock-keywords dired-font-lock-keywords)
(set (make-local-variable 'font-lock-defaults) '(dired-font-lock-keywords t))
(dired-sort-other dired-actual-switches t)
(run-hooks 'dired-mode-hook))