From e5108ff1e4ac0c17361a703e565fda78112812db Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 6 Jun 2015 12:52:56 +0300 Subject: [PATCH] Fix Dired display of an explicit list of files by ls-lisp.el * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt) (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be correct for when displaying individual files separately, not as part of listing a directory, in which case these values are not recomputed by 'ls-lisp-insert-directory', but used verbatim. --- lisp/ls-lisp.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 0ddae24d577..d4b890504aa 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -237,13 +237,13 @@ to fail to line up, e.g. if month names are not all of the same length." :type 'boolean :group 'ls-lisp) -(defvar ls-lisp-uid-d-fmt "-%d" +(defvar ls-lisp-uid-d-fmt " %d" "Format to display integer UIDs.") -(defvar ls-lisp-uid-s-fmt "-%s" +(defvar ls-lisp-uid-s-fmt " %s" "Format to display user names.") -(defvar ls-lisp-gid-d-fmt "-%d" +(defvar ls-lisp-gid-d-fmt " %d" "Format to display integer GIDs.") -(defvar ls-lisp-gid-s-fmt "-%s" +(defvar ls-lisp-gid-s-fmt " %s" "Format to display user group names.") (defvar ls-lisp-filesize-d-fmt "%d" "Format to display integer file sizes.") -- 2.39.5