Commit 4481ae96 authored by Simon Marshall's avatar Simon Marshall
Browse files

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

parent 63a2daf6
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment