diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-11-06 13:29:52 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-11-06 13:29:52 +0100 |
commit | 5eae983b6490fe0ad553a1833be5f8ee7aef7a05 (patch) | |
tree | 399fb36abe0f2f7ccb5cd49c6d7f4d06a48422cd /helm-buffers.el | |
parent | 928cda49a2945f6149265b8e8dbbe34f2f4b8cab (diff) |
Revert c99c2c6c for now (#1910)
* helm-buffers.el (helm-highlight-buffers): Do it.
(helm-buffer--get-preselection): Do it.
Diffstat (limited to 'helm-buffers.el')
-rw-r--r-- | helm-buffers.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/helm-buffers.el b/helm-buffers.el index 8778a837..180194ff 100644 --- a/helm-buffers.el +++ b/helm-buffers.el @@ -390,9 +390,7 @@ Should be called after others transformers i.e (boring buffers)." (helm-buffer--details i)) for truncbuf = (if (> (string-width name) helm-buffer-max-length) (helm-substring-by-width - name (- helm-buffer-max-length - (length - helm-buffers-end-truncated-string)) + name helm-buffer-max-length helm-buffers-end-truncated-string) (concat name (make-string @@ -430,8 +428,7 @@ Should be called after others transformers i.e (boring buffers)." helm-buffer-max-length)) (regexp-quote (helm-substring-by-width - bufname (- helm-buffer-max-length - (length helm-buffers-end-truncated-string)) + bufname helm-buffer-max-length helm-buffers-end-truncated-string)) (concat (regexp-quote bufname) (if helm-buffer-details-flag |