branch: elpa/helm commit c99ef31aadfeea95155e437a6969ae7d8ecc7748 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Add docstring to helm-buffers--quote-truncated-buffer --- helm-buffers.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm-buffers.el b/helm-buffers.el index a29259a2b9..6cfc657530 100644 --- a/helm-buffers.el +++ b/helm-buffers.el @@ -1041,6 +1041,9 @@ vertically." (helm-delete-current-selection)))) (defun helm-buffers--quote-truncated-buffer (buffer) + "Quote the truncated buffer-name of BUFFER. +buffer-name is truncated according to `helm-buffer-max-length' minus the length +of icon if one." (let ((bufname (and (bufferp buffer) (buffer-name buffer))) (maxlen (if helm-buffers-show-icons