diff options
| author | Tino Calancha | 2016-06-29 11:47:16 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-06-29 11:47:16 +0900 |
| commit | 1a5d0c15185986e645e8fb8080a2338d8f17d562 (patch) | |
| tree | 9ffb497f18ef61093892802f3afc7fdc6910753e | |
| parent | ff64fa75a88dad730568d15dd5037e141d198a8f (diff) | |
| download | emacs-1a5d0c15185986e645e8fb8080a2338d8f17d562.tar.gz emacs-1a5d0c15185986e645e8fb8080a2338d8f17d562.zip | |
Dired recognize dirs when file size in human units
* lisp/dired.el (dired-re-inode-size): Update 'dired-re-inode-size'
to match when Dired displays the allocated file size column
in human readable units (Bug#22255).
| -rw-r--r-- | lisp/dired.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 38979b5244d..d078478aaaf 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -303,7 +303,7 @@ The directory name must be absolute, but need not be fully expanded.") | |||
| 303 | 303 | ||
| 304 | (put 'dired-actual-switches 'safe-local-variable 'dired-safe-switches-p) | 304 | (put 'dired-actual-switches 'safe-local-variable 'dired-safe-switches-p) |
| 305 | 305 | ||
| 306 | (defvar dired-re-inode-size "[0-9 \t]*" | 306 | (defvar dired-re-inode-size "[0-9 \t]*[.,0-9]*[BkKMGTPEZY]?[ \t]*" |
| 307 | "Regexp for optional initial inode and file size as made by `ls -i -s'.") | 307 | "Regexp for optional initial inode and file size as made by `ls -i -s'.") |
| 308 | 308 | ||
| 309 | ;; These regexps must be tested at beginning-of-line, but are also | 309 | ;; These regexps must be tested at beginning-of-line, but are also |