aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b03c043c7e1..9a59fdfeb6d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-09-19 Gerd Moellmann <gerd@gnu.org>
2
3 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
4 for instance for the case that tab-width is 2.
5
12000-09-18 Gerd Moellmann <gerd@gnu.org> 62000-09-18 Gerd Moellmann <gerd@gnu.org>
2 7
3 * toolbar/toolbar.el (toolbar-like-menu-item): Like in 8 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
diff --git a/lisp/dired.el b/lisp/dired.el
index 393635452a1..28ac4e96088 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -275,7 +275,7 @@ Subexpression 2 must end right before the \\n or \\r.")
275 ;; Dired marks. 275 ;; Dired marks.
276 (list dired-re-mark 276 (list dired-re-mark
277 '(0 font-lock-constant-face) 277 '(0 font-lock-constant-face)
278 '(".+" (dired-move-to-filename) nil (0 font-lock-warning-face))) 278 '("[ \t]+" (dired-move-to-filename) nil (0 font-lock-warning-face)))
279 ;; People who are paranoid about security would consider this more 279 ;; People who are paranoid about security would consider this more
280 ;; important than other things such as whether it is a directory. 280 ;; important than other things such as whether it is a directory.
281 ;; But we don't want to encourage paranoia, so our default 281 ;; But we don't want to encourage paranoia, so our default
@@ -289,11 +289,11 @@ Subexpression 2 must end right before the \\n or \\r.")
289 ;; 289 ;;
290 ;; Subdirectories. 290 ;; Subdirectories.
291 (list dired-re-dir 291 (list dired-re-dir
292 '(".+" (dired-move-to-filename) nil (0 font-lock-function-name-face))) 292 '("[ \t]+" (dired-move-to-filename) nil (0 font-lock-function-name-face)))
293 ;; 293 ;;
294 ;; Symbolic links. 294 ;; Symbolic links.
295 (list dired-re-sym 295 (list dired-re-sym
296 '(".+" (dired-move-to-filename) nil (0 font-lock-keyword-face))) 296 '("[ \t]+" (dired-move-to-filename) nil (0 font-lock-keyword-face)))
297 ;; 297 ;;
298 ;; Files suffixed with `completion-ignored-extensions'. 298 ;; Files suffixed with `completion-ignored-extensions'.
299 '(eval . 299 '(eval .
@@ -301,7 +301,7 @@ Subexpression 2 must end right before the \\n or \\r.")
301 ;; It is quicker to first find just an extension, then go back to the 301 ;; It is quicker to first find just an extension, then go back to the
302 ;; start of that file name. So we do this complex MATCH-ANCHORED form. 302 ;; start of that file name. So we do this complex MATCH-ANCHORED form.
303 (list (concat "\\(" (mapconcat 'identity extensions "\\|") "\\|#\\)$") 303 (list (concat "\\(" (mapconcat 'identity extensions "\\|") "\\|#\\)$")
304 '(".+" (dired-move-to-filename) nil (0 font-lock-string-face)))))) 304 '("[ \t]+" (dired-move-to-filename) nil (0 font-lock-string-face))))))
305 "Additional expressions to highlight in Dired mode.") 305 "Additional expressions to highlight in Dired mode.")
306 306
307;;; Macros must be defined before they are used, for the byte compiler. 307;;; Macros must be defined before they are used, for the byte compiler.