aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/dired.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index d3c21d8c3ce..c250cc8c65e 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -991,8 +991,7 @@ Keybindings:
991 (expand-file-name dired-directory)) 991 (expand-file-name dired-directory))
992 (set (make-local-variable 'dired-actual-switches) 992 (set (make-local-variable 'dired-actual-switches)
993 (or switches dired-listing-switches)) 993 (or switches dired-listing-switches))
994 (make-local-variable 'font-lock-keywords) 994 (set (make-local-variable 'font-lock-defaults) '(dired-font-lock-keywords t))
995 (setq font-lock-keywords dired-font-lock-keywords)
996 (dired-sort-other dired-actual-switches t) 995 (dired-sort-other dired-actual-switches t)
997 (run-hooks 'dired-mode-hook)) 996 (run-hooks 'dired-mode-hook))
998 997