diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ibuffer.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 0a7bfe00a98..03018d08a58 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -1912,11 +1912,9 @@ If point is on a group name, this function operates on that group." | |||
| 1912 | (let ((procs 0) | 1912 | (let ((procs 0) |
| 1913 | (files 0)) | 1913 | (files 0)) |
| 1914 | (dolist (string strings) | 1914 | (dolist (string strings) |
| 1915 | (if (string-match "\\(?:\\`([[:ascii:]]+)\\)" string) | 1915 | (when (get-text-property 1 'ibuffer-process string) |
| 1916 | (progn (setq procs (1+ procs)) | 1916 | (setq procs (1+ procs))) |
| 1917 | (if (< (match-end 0) (length string)) | 1917 | (setq files (1+ files))) |
| 1918 | (setq files (1+ files)))) | ||
| 1919 | (setq files (1+ files)))) | ||
| 1920 | (concat (cond ((zerop files) "No files") | 1918 | (concat (cond ((zerop files) "No files") |
| 1921 | ((= 1 files) "1 file") | 1919 | ((= 1 files) "1 file") |
| 1922 | (t (format "%d files" files))) | 1920 | (t (format "%d files" files))) |
| @@ -1928,7 +1926,8 @@ If point is on a group name, this function operates on that group." | |||
| 1928 | (filename (ibuffer-make-column-filename buffer mark))) | 1926 | (filename (ibuffer-make-column-filename buffer mark))) |
| 1929 | (if proc | 1927 | (if proc |
| 1930 | (concat (propertize (format "(%s %s)" proc (process-status proc)) | 1928 | (concat (propertize (format "(%s %s)" proc (process-status proc)) |
| 1931 | 'font-lock-face 'italic) | 1929 | 'font-lock-face 'italic |
| 1930 | 'ibuffer-process proc) | ||
| 1932 | (if (> (length filename) 0) | 1931 | (if (> (length filename) 0) |
| 1933 | (format " %s" filename) | 1932 | (format " %s" filename) |
| 1934 | "")) | 1933 | "")) |