summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-12 17:21:24 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-12 17:21:24 +0000
commit16b5a00e1b839f6f9d6db29501c80ee5893c90b7 (patch)
tree938c5446d08d411d78979740a0d648c5c4ec69b9
parent0551629b7bbda828853ea786d471893b5b12e4b8 (diff)
downloademacs-16b5a00e1b839f6f9d6db29501c80ee5893c90b7.tar.gz
(dired-font-lock-keywords): Don't specially highlight
files that are writable by others.
-rw-r--r--lisp/dired.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index c767b1c6b3e..30348d62ffc 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -261,12 +261,16 @@ Subexpression 2 must end right before the \\n or \\r.")
(list dired-re-mark
'(0 font-lock-reference-face)
'(".+" (dired-move-to-filename) nil (0 font-lock-warning-face)))
- ;;
- ;; Files that are group or world writable.
- (list (concat dired-re-maybe-mark dired-re-inode-size
- "\\([-d]\\(....w....\\|.......w.\\)\\)")
- '(1 font-lock-comment-face)
- '(".+" (dired-move-to-filename) nil (0 font-lock-comment-face)))
+ ;; People who are paranoid about security would consider this more
+ ;; important than other things such as whether it is a directory.
+ ;; But we don't want to encourage paranoia, so our default
+ ;; should be what's most useful for non-paranoids. -- rms.
+;;; ;;
+;;; ;; Files that are group or world writable.
+;;; (list (concat dired-re-maybe-mark dired-re-inode-size
+;;; "\\([-d]\\(....w....\\|.......w.\\)\\)")
+;;; '(1 font-lock-comment-face)
+;;; '(".+" (dired-move-to-filename) nil (0 font-lock-comment-face)))
;;
;; Subdirectories.
(list dired-re-dir