mu4e: avoid trouble with truncate-string-to-width
Treatment of the 'ellipsis' parameter is a bit unclear, gave errors in some cases. Fixes #1716
This commit is contained in:
@ -603,9 +603,7 @@ buffers; lets remap its faces so it uses the ones for mu4e."
|
||||
(forward "*forward*")
|
||||
(otherwise "*draft*")))))
|
||||
(rename-buffer (generate-new-buffer-name
|
||||
(truncate-string-to-width str
|
||||
mu4e~compose-buffer-max-name-length
|
||||
nil nil t)
|
||||
(truncate-string-to-width str mu4e~compose-buffer-max-name-length)
|
||||
(buffer-name)))))
|
||||
|
||||
(defun mu4e-compose-crypto-message (parent compose-type)
|
||||
|
||||
Reference in New Issue
Block a user