emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/marginalia f170a6b 2/2: Minor fixes


From: ELPA Syncer
Subject: [elpa] externals/marginalia f170a6b 2/2: Minor fixes
Date: Mon, 26 Jul 2021 07:57:13 -0400 (EDT)

branch: externals/marginalia
commit f170a6bd7fa22fcb606a5071f5e608e73896bf4d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Minor fixes
---
 marginalia.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/marginalia.el b/marginalia.el
index 84b25e8..31e9bf7 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -764,7 +764,7 @@ These annotations are skipped for remote paths."
       (marginalia--fields
        ((let ((uid (file-attribute-user-id attributes))
               (gid (file-attribute-group-id attributes)))
-          (concat (unless (= (user-id) uid)
+          (concat (unless (= (user-uid) uid)
                     (or (user-login-name uid) (number-to-string uid)))
                   (unless (= (group-gid) gid)
                     (concat ":" (or (group-name gid) (number-to-string 
gid))))))
@@ -779,7 +779,7 @@ These annotations are skipped for remote paths."
   "Alist of (attrs . fontified-attrs).")
 
 (defun marginalia--color-file-attributes (attrs)
-  "Apply fontification to a file attribute string, e.g. \"drwxrw-r--\"."
+  "Apply fontification to a file ATTRS string, e.g. \"drwxrw-r--\"."
   ;; Without caching this can a be significant portion of the time
   ;; `marginalia-annotate-file' takes to execute. Caching improves performance
   ;; by about a factor of 20.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]