comparison lisp/dired.el @ 54685:06ef8e8088f4

(dired-font-lock-keywords): Fix permission regexps.
author Juri Linkov <juri@jurta.org>
date Sat, 03 Apr 2004 04:19:13 +0000
parents 9b0161392fe1
children 1927e78ea49d
comparison
equal deleted inserted replaced
54684:64bd6e31f770 54685:06ef8e8088f4
316 ;; However, we don't need to highlight the file name, only the 316 ;; However, we don't need to highlight the file name, only the
317 ;; permissions, to win generally. -- fx. 317 ;; permissions, to win generally. -- fx.
318 ;; Fixme: we could also put text properties on the permission 318 ;; Fixme: we could also put text properties on the permission
319 ;; fields with keymaps to frob the permissions, somewhat a la XEmacs. 319 ;; fields with keymaps to frob the permissions, somewhat a la XEmacs.
320 (list (concat dired-re-maybe-mark dired-re-inode-size 320 (list (concat dired-re-maybe-mark dired-re-inode-size
321 "[-d]....\\(w\\)..\\(w\\).") ; group writable 321 "[-d]....\\(w\\)....") ; group writable
322 '(1 font-lock-warning-face)) 322 '(1 font-lock-comment-face))
323 (list (concat dired-re-maybe-mark dired-re-inode-size 323 (list (concat dired-re-maybe-mark dired-re-inode-size
324 "[-d]....\\(w\\)....") ; world writable 324 "[-d].......\\(w\\).") ; world writable
325 '(1 font-lock-comment-face)) 325 '(1 font-lock-comment-face))
326 ;; 326 ;;
327 ;; Subdirectories. 327 ;; Subdirectories.
328 (list dired-re-dir 328 (list dired-re-dir
329 '(".+" (dired-move-to-filename) nil (0 font-lock-function-name-face))) 329 '(".+" (dired-move-to-filename) nil (0 font-lock-function-name-face)))