diff options
| author | Nick Roberts | 2005-05-19 00:13:09 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-05-19 00:13:09 +0000 |
| commit | 1bd539774234c7752daf9ee8cc39beb5916513b2 (patch) | |
| tree | 94f6a1a0dcd13299606fbaadaa80ad64a2b55996 | |
| parent | 2dade9c6789ca8a68fb86413e2a7ab7d197fa1e5 (diff) | |
| download | emacs-1bd539774234c7752daf9ee8cc39beb5916513b2.tar.gz emacs-1bd539774234c7752daf9ee8cc39beb5916513b2.zip | |
(describe-variable): Remove hyperlinks in a
variable's value as these are quite frequently inappropriate.
| -rw-r--r-- | lisp/help-fns.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 4bf0a4775a0..c11aaf6da76 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -535,7 +535,9 @@ it is displayed along with the global value." | |||
| 535 | (terpri) | 535 | (terpri) |
| 536 | (let ((from (point))) | 536 | (let ((from (point))) |
| 537 | (pp val) | 537 | (pp val) |
| 538 | (help-xref-on-pp from (point)) | 538 | ;; Hyperlinks in variable's value are quite frequently |
| 539 | ;; inappropriate e.g C-h v <RET> features <RET> | ||
| 540 | ;; (help-xref-on-pp from (point)) | ||
| 539 | (if (< (point) (+ from 20)) | 541 | (if (< (point) (+ from 20)) |
| 540 | (delete-region (1- from) from))))) | 542 | (delete-region (1- from) from))))) |
| 541 | (terpri) | 543 | (terpri) |
| @@ -556,7 +558,8 @@ it is displayed along with the global value." | |||
| 556 | ;; sensible size before prettyprinting. -- fx | 558 | ;; sensible size before prettyprinting. -- fx |
| 557 | (let ((from (point))) | 559 | (let ((from (point))) |
| 558 | (pp val) | 560 | (pp val) |
| 559 | (help-xref-on-pp from (point)) | 561 | ;; See previous comment for this function. |
| 562 | ;; (help-xref-on-pp from (point)) | ||
| 560 | (if (< (point) (+ from 20)) | 563 | (if (< (point) (+ from 20)) |
| 561 | (delete-region (1- from) from)))))) | 564 | (delete-region (1- from) from)))))) |
| 562 | (terpri)) | 565 | (terpri)) |