Buttonize function values in help (and add a blank line)
* lisp/help-fns.el (describe-variable): Add a newline for better readability (bug#46702). This also has the side effect of buttonizing `function-references-like-this' in the "Its value is" part. * lisp/help-mode.el (help-make-xrefs): Adjust comments.
This commit is contained in:
parent
abd8c9b4d7
commit
77e194971c
2 changed files with 2 additions and 3 deletions
|
@ -1026,7 +1026,7 @@ it is displayed along with the global value."
|
|||
(princ (if file-name
|
||||
(progn
|
||||
(princ (format-message
|
||||
" is a variable defined in `%s'.\n"
|
||||
" is a variable defined in `%s'.\n\n"
|
||||
(if (eq file-name 'C-source)
|
||||
"C source code"
|
||||
(help-fns-short-filename file-name))))
|
||||
|
|
|
@ -476,8 +476,7 @@ that."
|
|||
(with-current-buffer (or buffer (current-buffer))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
;; Skip the header-type info, though it might be useful to parse
|
||||
;; it at some stage (e.g. "function in `library'").
|
||||
;; Skip the first bit, which has already been buttonized.
|
||||
(forward-paragraph)
|
||||
(let ((old-modified (buffer-modified-p)))
|
||||
(let ((stab (syntax-table))
|
||||
|
|
Loading…
Add table
Reference in a new issue