changeset 62499:3de160e732f1

(describe-variable): Remove hyperlinks in a variable's value as these are quite frequently inappropriate.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 19 May 2005 00:13:09 +0000
parents e371d32adcb5
children d3986a29cb33
files lisp/help-fns.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Thu May 19 00:12:37 2005 +0000
+++ b/lisp/help-fns.el	Thu May 19 00:13:09 2005 +0000
@@ -535,7 +535,9 @@
 		(terpri)
 		(let ((from (point)))
 		  (pp val)
-		  (help-xref-on-pp from (point))
+		  ;; Hyperlinks in variable's value are quite frequently
+		  ;; inappropriate e.g C-h v <RET> features <RET>
+		  ;; (help-xref-on-pp from (point))
 		  (if (< (point) (+ from 20))
 		      (delete-region (1- from) from)))))
 	    (terpri)
@@ -556,7 +558,8 @@
 		    ;; sensible size before prettyprinting.  -- fx
 		    (let ((from (point)))
 		      (pp val)
-		      (help-xref-on-pp from (point))
+		      ;; See previous comment for this function.
+		      ;; (help-xref-on-pp from (point))
 		      (if (< (point) (+ from 20))
 			(delete-region (1- from) from))))))
 	      (terpri))