]> git.eshelyaron.com Git - emacs.git/commitdiff
* dired.el: (dired-mode): Set font-lock-defaults.
authorSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 08:16:29 +0000 (08:16 +0000)
committerSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 08:16:29 +0000 (08:16 +0000)
lisp/dired.el

index d3c21d8c3cebedd6fd298c47b5daa83dd0f594b0..c250cc8c65e58fc0606c8d3ef46ce817272922f3 100644 (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))
 \f