mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Further tweak describe-variable look
* lisp/help-fns.el (describe-variable): Tweak how long variable values are shown.
This commit is contained in:
parent
24f370df13
commit
2bd26ed697
1 changed files with 8 additions and 1 deletions
|
|
@ -1222,7 +1222,14 @@ it is displayed along with the global value."
|
|||
;; Output the indented administrative bits.
|
||||
(with-current-buffer buffer
|
||||
(help-fns--run-describe-functions
|
||||
help-fns-describe-variable-functions variable)))
|
||||
help-fns-describe-variable-functions variable))
|
||||
|
||||
(with-current-buffer standard-output
|
||||
;; If we have the long value of the variable at the
|
||||
;; end, remove superfluous empty lines before it.
|
||||
(unless (eobp)
|
||||
(while (looking-at-p "\n")
|
||||
(delete-char 1)))))
|
||||
|
||||
(with-current-buffer standard-output
|
||||
;; Return the text we displayed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue