Mercurial > emacs
changeset 11518:8dd16a4d3ad7
dired-font-lock-keywords efficiency fix.
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Mon, 24 Apr 1995 11:28:24 +0000 |
parents | d453910ac3da |
children | aecbeb4d287a |
files | lisp/dired.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Mon Apr 24 11:03:55 1995 +0000 +++ b/lisp/dired.el Mon Apr 24 11:28:24 1995 +0000 @@ -117,11 +117,11 @@ (defvar dired-font-lock-keywords '(;; Put directory headers in italics. - ("^ \\(/.+\\)$" 1 font-lock-type-face) + ("^ \\(/.+\\)" 1 font-lock-type-face) ;; Put symlinks in bold italics. ("\\([^ ]+\\) -> [^ ]+$" . font-lock-function-name-face) ;; Put marks in bold. - ("^\\([^ ]\\).*$" 1 font-lock-keyword-face t) + ("^[^ ]" . font-lock-reference-face) ;; Put files that are subdirectories in bold. ("^..d.* \\([^ ]+\\)$" 1 font-lock-keyword-face)) "Additional expressions to highlight in Dired mode.")