diff lisp/descr-text.el @ 90284:f12f7e75abbe

(describe-char): Use insert-text-button instead of widget-create for "customize what to show" button.
author Kenichi Handa <handa@m17n.org>
date Tue, 24 Jan 2006 02:01:19 +0000
parents 50eb9e2ff05f
children c5406394f567
line wrap: on
line diff
--- a/lisp/descr-text.el	Sat Jan 21 06:45:38 2006 +0000
+++ b/lisp/descr-text.el	Tue Jan 24 02:01:19 2006 +0000
@@ -617,11 +617,11 @@
 	(if (not describe-char-unidata-list)
 	    (insert "\nCharacter code properties are not shown: ")
 	  (insert "\nCharacter code properties: "))
-	(widget-create 'link
-		       :notify (lambda (&rest ignore)
-				 (customize-variable
-				  'describe-char-unidata-list))
-		       "customize what to show")
+	(insert-text-button
+	 "customize what to show"
+	 'action (lambda (&rest ignore)
+		   (customize-variable
+		    'describe-char-unidata-list)))
 	(insert "\n")
 	(dolist (elt describe-char-unidata-list)
 	  (let ((val (get-char-code-property char elt))