From fbcb55168f1b0c718536fb35b68cad687d311636 Mon Sep 17 00:00:00 2001 From: r-zip Date: Tue, 12 Nov 2019 13:44:01 -0500 Subject: [PATCH] Set nobreak-char-display to nil in *eglot-help* * eglot.el (eglot-help-at-point): set nobreak-char-display Copyright-paperwork-exempt: yes GitHub-reference: fix https://github.com/joaotavora/eglot/issues/345 --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 80c65cea5ce..0022737fb9d 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2178,7 +2178,8 @@ is not active." (with-current-buffer (eglot--help-buffer) (with-help-window (current-buffer) (rename-buffer (format "*eglot-help for %s*" sym)) - (with-current-buffer standard-output (insert blurb))))))) + (with-current-buffer standard-output (insert blurb)) + (setq-local nobreak-char-display nil)))))) (defun eglot-doc-too-large-for-echo-area (string) "Return non-nil if STRING won't fit in echo area. -- 2.39.2