branch: externals/boxy commit e615bd21dfb545ad8ca876458f7afe92ba326341 Author: Amy Grinn <grinn....@gmail.com> Commit: Amy Grinn <grinn....@gmail.com>
Reimplement (toggle-truncate-lines) to avoid message --- boxy.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boxy.el b/boxy.el index 192e208ad6..832302961a 100644 --- a/boxy.el +++ b/boxy.el @@ -412,10 +412,10 @@ (define-derived-mode boxy-mode special-mode "Boxy" "Mode for viewing an boxy diagram." - (let ((inhibit-message t)) ;FIXME: Please report the message as an error. - (setq indent-tabs-mode nil) - (cursor-sensor-mode t) - (toggle-truncate-lines t))) + (visual-line-mode -1) + (setq indent-tabs-mode nil) + (cursor-sensor-mode t) + (setq truncate-lines t)) (cl-defun boxy-pp (box &key