Commits

Anonymous committed 01d2863

* Update

Comments (0)

Files changed (1)

     (substring name 0 (match-beginning 0)))
    (t name)))
 
-(define-ibuffer-column name
+(define-ibuffer-column name-trans
   (:inline t
    :header-mouse-map ibuffer-name-header-map
    :props
        (cond ((zerop bufs) "No buffers")
          ((= 1 bufs) "1 buffer")
          (t (format "%s buffers" bufs))))))
-  (propertize (my-transform-buffer-name (buffer-name)) 'font-lock-face (ibuffer-buffer-name-face buffer mark)))
+  (propertize (my-transform-buffer-name (buffer-name))
+              'font-lock-face (ibuffer-buffer-name-face buffer mark)))
 
 (define-ibuffer-column size-h
   (:name "Size"
 ;; Modify the default ibuffer-formats
 (setq ibuffer-formats
   '((mark modified read-only
-          " " (name 25 25 :left :elide)
+          " " (name-trans 25 25 :left :elide)
           " " (size-h 9 -1 :right)
           " " (mode 16 16 :left :elide)
           " " filename-and-process)