mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
Eldoc: display documentation in visual-line-mode
Documentation is overwhelmingly prose and intended to be viewed, not edited. Using visual-line-mode allows members of 'eldoc-doc-functions' to provide long lines that correctly fill to the window width. * lisp/emacs-lisp/eldoc.el (eldoc--format-doc-buffer): Use visual-line-mode.
This commit is contained in:
parent
aba60ad0c5
commit
2a166c2dbd
1 changed files with 1 additions and 0 deletions
|
|
@ -530,6 +530,7 @@ If INTERACTIVE, display it. Else, return said buffer."
|
||||||
(things-reported-on))
|
(things-reported-on))
|
||||||
(special-mode)
|
(special-mode)
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
|
(visual-line-mode)
|
||||||
(setq-local nobreak-char-display nil)
|
(setq-local nobreak-char-display nil)
|
||||||
(cl-loop for (docs . rest) on docs
|
(cl-loop for (docs . rest) on docs
|
||||||
for (this-doc . plist) = docs
|
for (this-doc . plist) = docs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue