changeset 9474:9791aad17859

* dired.el: (dired-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 08:16:29 +0000
parents b0cc803bf367
children c15caadae3c4
files lisp/dired.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Wed Oct 12 08:13:56 1994 +0000
+++ b/lisp/dired.el	Wed Oct 12 08:16:29 1994 +0000
@@ -991,8 +991,7 @@
        (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))