diff options
| author | Richard M. Stallman | 2001-06-01 18:02:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-06-01 18:02:04 +0000 |
| commit | 7727f3c0b893102feb94ad43b65b4fefb6c0abba (patch) | |
| tree | 7f16d981a2252d4f57a102415cfb5c07a7f10a01 | |
| parent | 4f7666dc663f1a6db0913fd328d1c3f598ff57c0 (diff) | |
| download | emacs-7727f3c0b893102feb94ad43b65b4fefb6c0abba.tar.gz emacs-7727f3c0b893102feb94ad43b65b4fefb6c0abba.zip | |
(describe-variable): Put value on same line
with preceding text, if it is short enough to look good that way.
| -rw-r--r-- | lisp/help.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index 3cf53d21227..945b168f881 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -858,7 +858,11 @@ it is displayed along with the global value." | |||
| 858 | (terpri) | 858 | (terpri) |
| 859 | (let ((from (point))) | 859 | (let ((from (point))) |
| 860 | (pp val) | 860 | (pp val) |
| 861 | (help-xref-on-pp from (point)))))) | 861 | (help-xref-on-pp from (point)) |
| 862 | (if (< (point) (+ from 20)) | ||
| 863 | (save-excursion | ||
| 864 | (goto-char from) | ||
| 865 | (delete-char -1))))))) | ||
| 862 | (terpri) | 866 | (terpri) |
| 863 | (if (local-variable-p variable) | 867 | (if (local-variable-p variable) |
| 864 | (progn | 868 | (progn |
| @@ -875,7 +879,11 @@ it is displayed along with the global value." | |||
| 875 | ;; sensible size before prettyprinting. -- fx | 879 | ;; sensible size before prettyprinting. -- fx |
| 876 | (let ((from (point))) | 880 | (let ((from (point))) |
| 877 | (pp val) | 881 | (pp val) |
| 878 | (help-xref-on-pp from (point)))))) | 882 | (help-xref-on-pp from (point)) |
| 883 | (if (< (point) (+ from 20)) | ||
| 884 | (save-excursion | ||
| 885 | (goto-char from) | ||
| 886 | (delete-char -1))))))) | ||
| 879 | (terpri))) | 887 | (terpri))) |
| 880 | (terpri) | 888 | (terpri) |
| 881 | (with-current-buffer standard-output | 889 | (with-current-buffer standard-output |