emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master fb20043: Fix output alignment in 'find-dired' for "


From: Eli Zaretskii
Subject: [Emacs-diffs] master fb20043: Fix output alignment in 'find-dired' for "ls -h"
Date: Sat, 30 Dec 2017 05:43:49 -0500 (EST)

branch: master
commit fb20043b2fec8e8aff6354ec1396fd5ba688b76b
Author: Sebastian Reuße <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix output alignment in 'find-dired' for "ls -h"
    
    * lisp/find-dired.el (find-dired-filter): Fix alignment of
    the file size column when the -h ls option is used in
    'find-ls-option'.  (Bug#29803)
    
    Copyright-paperwork-exempt: yes
---
 lisp/find-dired.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 3b0613b..bf815d5 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -295,7 +295,7 @@ specifies what to use in place of \"-ls\" as the final 
argument."
                    (l-opt (and (consp find-ls-option)
                                (string-match "l" (cdr find-ls-option))))
                    (ls-regexp (concat "^ +[^ \t\r\n]+\\( +[^ \t\r\n]+\\) +"
-                                      "[^ \t\r\n]+ +[^ \t\r\n]+\\( 
+[0-9]+\\)")))
+                                      "[^ \t\r\n]+ +[^ \t\r\n]+\\( 
+[^[:space:]]+\\)")))
                (goto-char beg)
                (insert string)
                (goto-char beg)



reply via email to

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