Commit f16bcc9a authored by Juri Linkov's avatar Juri Linkov
Browse files

(dired-font-lock-keywords): Fix permission regexps.

parent 6deaa218
......@@ -318,10 +318,10 @@ Subexpression 2 must end right before the \\n or \\r.")
;; Fixme: we could also put text properties on the permission
;; fields with keymaps to frob the permissions, somewhat a la XEmacs.
(list (concat dired-re-maybe-mark dired-re-inode-size
"[-d]....\\(w\\)..\\(w\\).") ; group writable
'(1 font-lock-warning-face))
"[-d]....\\(w\\)....") ; group writable
'(1 font-lock-comment-face))
(list (concat dired-re-maybe-mark dired-re-inode-size
"[-d]....\\(w\\)....") ; world writable
"[-d].......\\(w\\).") ; world writable
'(1 font-lock-comment-face))
;; Subdirectories.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment