From: Fredrik Bergroth Date: Thu, 13 Dec 2018 11:55:28 +0000 (+0100) Subject: Apply eglot--format-markup to signature documentation X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~366 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d44340815666c633e0d20eb32959f45140664dc9;p=emacs.git Apply eglot--format-markup to signature documentation Copyright-paperwork-exempt: yes * eglot.el (eglot--sig-info): Call eglot--format-markup on signature documentation. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index db4fbb4a7a5..2b51c2155bc 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1951,7 +1951,7 @@ is not active." (setq documentation (match-string 1 documentation)) (unless (string-prefix-p (string-trim documentation) label) (goto-char (point-max)) - (insert ": " documentation))) + (insert ": " (eglot--format-markup documentation)))) (when (and (eql i active-sig) active-param (< -1 active-param (length parameters))) (eglot--dbind ((ParameterInformation) label documentation)