From: Simon Marshall Date: Wed, 12 Oct 1994 08:16:29 +0000 (+0000) Subject: * dired.el: (dired-mode): Set font-lock-defaults. X-Git-Tag: emacs-19.34~6380 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4481ae96a9f39363334856f4d73a3c3ed8b8331e;p=emacs.git * dired.el: (dired-mode): Set font-lock-defaults. --- 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: (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))