]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix warning in last change
authorTino Calancha <tino.calancha@gmail.com>
Thu, 14 May 2020 20:02:09 +0000 (22:02 +0200)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 14 May 2020 20:06:22 +0000 (22:06 +0200)
* lisp/arc-mode.el (archive--summarize-descs):
Use file-modes-number-to-symbolic.

lisp/arc-mode.el

index 6ce64fe24b30ecfd1a00207fd60f41b77d3a391b..6781c292d82558bc6b1848bc0b7e1b4c8dd199c7 100644 (file)
@@ -1506,7 +1506,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
            (timelen (length (archive--file-desc-time sample)))
            (samplemode (and (archive--enabled-p 'Mode)
                             (archive--file-desc-mode sample)))
-           (modelen (length (if samplemode (archive-int-to-mode samplemode)))))
+           (modelen (length (if samplemode (file-modes-number-to-symbolic samplemode)))))
       (dolist (desc descs)
         (when ids
           (let* ((uid (archive--file-desc-uid desc))
@@ -1553,7 +1553,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
                           (text
                            (concat "  "
                                    (when (> modelen 0)
-                                     (concat (archive-int-to-mode
+                                     (concat (file-modes-number-to-symbolic
                                               (archive--file-desc-mode desc))
                                              "  "))
                                    (when ids