aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1994-10-12 08:16:29 +0000
committerSimon Marshall1994-10-12 08:16:29 +0000
commit4481ae96a9f39363334856f4d73a3c3ed8b8331e (patch)
tree0db9a06d890ae91f49e3c8ddbc4b549da897c40d
parent63a2daf6d002d96e05179e9e32225b4333b4361f (diff)
downloademacs-4481ae96a9f39363334856f4d73a3c3ed8b8331e.tar.gz
emacs-4481ae96a9f39363334856f4d73a3c3ed8b8331e.zip
* dired.el: (dired-mode): Set font-lock-defaults.
-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