[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3e232387356: Fixup for "no file modes on windows and dos"
From: |
Sam Steingold |
Subject: |
master 3e232387356: Fixup for "no file modes on windows and dos" |
Date: |
Sun, 15 Oct 2023 11:51:45 -0400 (EDT) |
branch: master
commit 3e232387356a9dbfd6f51cb33aa48c9dfc57c872
Author: Sam Steingold <sds@gnu.org>
Commit: Sam Steingold <sds@gnu.org>
Fixup for "no file modes on windows and dos"
* lisp/ls-lisp.el (ls-lisp-format): Keep the first group of
permissions even when `modes' is not in `ls-lisp-verbosity'.
---
lisp/ls-lisp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 5b264554005..c576819c5d0 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -811,7 +811,7 @@ SWITCHES and TIME-INDEX give the full switch list and time
data."
(fceiling (/ file-size 1024.0)))))
(if (memq 'modes ls-lisp-verbosity)
drwxrwxrwx ; modes string
- (substring drwxrwxrwx 0 1)) ; "d" or "-" for directory vs file
+ (substring drwxrwxrwx 0 4)) ; "d" or "-" for directory vs file
(if (memq 'links ls-lisp-verbosity)
(format "%3d" (file-attribute-link-number file-attr)))
;; Numeric uid/gid are more confusing than helpful;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3e232387356: Fixup for "no file modes on windows and dos",
Sam Steingold <=