ivy-rich-switch-buffer-pad => ivy-rich-pad

To match upstream changes.

Reported by @sarg
This commit is contained in:
Henrik Lissner 2018-07-06 12:17:29 +02:00
parent 15f66f4b52
commit eb79760c66
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,7 +9,7 @@
(defun +ivy*rich-switch-buffer-buffer-name (str) (defun +ivy*rich-switch-buffer-buffer-name (str)
(propertize (propertize
(ivy-rich-switch-buffer-pad str ivy-rich-switch-buffer-name-max-length) (ivy-rich-pad str ivy-rich-switch-buffer-name-max-length)
'face (cond ((string-match-p "^ *\\*" str) 'face (cond ((string-match-p "^ *\\*" str)
'font-lock-comment-face) 'font-lock-comment-face)
((and buffer-file-truename ((and buffer-file-truename