summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2008-03-14 01:01:36 +0000
committerJuri Linkov <juri@jurta.org>2008-03-14 01:01:36 +0000
commit0199e76544762c58e0842c314a73390260b34ee5 (patch)
treec7f59a68fc7e664799093dff4692c4ac0ef761c7 /lisp/dired.el
parent5986c5c6ad02ecd052cbb4c8e581cb4bccd2e624 (diff)
downloademacs-0199e76544762c58e0842c314a73390260b34ee5.tar.gz
(dired-warn-writable): Rename to `dired-perm-write'.
(dired-perm-write): Renamed from `dired-warn-writable'. Change parent face from `font-lock-warning-face' to `font-lock-comment-delimiter-face'. (dired-warn-writable-face): Rename to `dired-perm-write-face'. (dired-perm-write-face): Renamed from `dired-warn-writable-face'. (dired-font-lock-keywords): Replace `dired-warn-writable-face' with `dired-perm-write-face'.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 09695bfa7cd..70ce1718eaa 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -344,13 +344,13 @@ Subexpression 2 must end right before the \\n or \\r.")
(defvar dired-warning-face 'dired-warning
"Face name used for a part of a buffer that needs user attention.")
-(defface dired-warn-writable
+(defface dired-perm-write
'((((type w32 pc)) :inherit default) ;; These default to rw-rw-rw.
- (t (:inherit font-lock-warning-face)))
+ (t (:inherit font-lock-comment-delimiter-face)))
"Face used to highlight permissions of group- and world-writable files."
:group 'dired-faces
:version "22.2")
-(defvar dired-warn-writable-face 'dired-warn-writable
+(defvar dired-perm-write-face 'dired-perm-write
"Face name used for permissions of group- and world-writable files.")
(defface dired-directory
@@ -414,10 +414,10 @@ Subexpression 2 must end right before the \\n or \\r.")
;; fields with keymaps to frob the permissions, somewhat a la XEmacs.
(list (concat dired-re-maybe-mark dired-re-inode-size
"[-d]....\\(w\\)....") ; group writable
- '(1 dired-warn-writable-face))
+ '(1 dired-perm-write-face))
(list (concat dired-re-maybe-mark dired-re-inode-size
"[-d].......\\(w\\).") ; world writable
- '(1 dired-warn-writable-face))
+ '(1 dired-perm-write-face))
;;
;; Subdirectories.
(list dired-re-dir