diff lisp/custom/custom-edit.el @ 24:4103f0995bd7 r19-15b95

Import from CVS: tag r19-15b95
author cvs
date Mon, 13 Aug 2007 08:51:03 +0200
parents 8fc7fe29b841
children 441bb1e64a06
line wrap: on
line diff
--- a/lisp/custom/custom-edit.el	Mon Aug 13 08:50:31 2007 +0200
+++ b/lisp/custom/custom-edit.el	Mon Aug 13 08:51:03 2007 +0200
@@ -4,7 +4,7 @@
 ;;
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
 ;; Keywords: help, faces
-;; Version: 1.40
+;; Version: 1.44
 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/
 
 ;;; Commentary:
@@ -911,8 +911,8 @@
 	(widget-put widget :custom-state 'unknown)
 	(custom-redraw widget))
     (let* ((completion-ignore-case t)
-	   (answer (widget-choose (capitalize
-				   (symbol-name (widget-get widget :value)))
+	   (answer (widget-choose (custom-unlispify-tag-name
+				   (widget-get widget :value))
 				  custom-variable-menu
 				  event)))
       (if answer
@@ -1075,7 +1075,8 @@
   :format-handler 'custom-face-format-handler
   :sample-face 'custom-face-tag-face
   :help-echo "Push me to set or reset this face."
-  :documentation-property 'face-documentation
+  :documentation-property '(lambda (face)
+			     (get-face-documentation face))
   :value-create 'custom-face-value-create
   :action 'custom-face-action
   :custom-set 'custom-face-set
@@ -1153,7 +1154,7 @@
 	(custom-redraw widget))
     (let* ((completion-ignore-case t)
 	   (symbol (widget-get widget :value))
-	   (answer (widget-choose (capitalize (symbol-name symbol))
+	   (answer (widget-choose (custom-unlispify-tag-name symbol)
 				  custom-face-menu event)))
       (if answer
 	  (funcall answer widget)))))
@@ -1376,8 +1377,8 @@
 	(widget-put widget :custom-state 'unknown)
 	(custom-redraw widget))
     (let* ((completion-ignore-case t)
-	   (answer (widget-choose (capitalize
-				   (symbol-name (widget-get widget :value)))
+	   (answer (widget-choose (custom-unlispify-tag-name
+				   (widget-get widget :value))
 				  custom-group-menu
 				  event)))
       (if answer