I use Eglot and find the word-breaking sometimes annoying:

enter image description here

How to avoid word-breaking?

  • Is this with visual-line-mode?
    – Drew
    Feb 9 at 16:41
  • @Drew: visual-line-mode is disabled.
    – shynur
    Feb 9 at 16:59

1 Answer 1


Here's my current solution:

;; init.el
(with-current-buffer (get-buffer-create " *Echo Area 0*" "no hooks")
  (setq-local word-wrap t))

Note that echo area and minibuffer are two different concepts, so minibuffer-*-hook doesn't help here.

(Dont know whether the "no hooks" is necessary.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.