]> git.eshelyaron.com Git - emacs.git/commitdiff
Set nobreak-char-display to nil in *eglot-help*
authorr-zip <rzpilgrim@gmail.com>
Tue, 12 Nov 2019 18:44:01 +0000 (13:44 -0500)
committerJoão Távora <joaotavora@gmail.com>
Tue, 12 Nov 2019 18:44:01 +0000 (18:44 +0000)
* 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

index 80c65cea5ce6f7a8c153d241b40389e43de025ff..0022737fb9db978f5d90f54b1d2bb3d4d8077ca9 100644 (file)
@@ -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.