Index: cus-edit.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/cus-edit.el,v retrieving revision 1.243 diff -c -r1.243 cus-edit.el *** cus-edit.el 4 Dec 2005 02:39:24 -0000 1.243 --- cus-edit.el 8 Dec 2005 00:31:47 -0000 *************** *** 1412,1417 **** --- 1412,1424 ---- 'custom-button-pressed 'custom-button-pressed-unraised)))) + (defface custom-link-face + `((((class color) (background light)) (:foreground "blue" :underline t)) + (((class color) (background dark)) (:foreground "cyan" :underline t))) + "Face used to highlight attributes that are links." + :group 'custom-faces) + + (defun custom-buffer-create-internal (options &optional description) (custom-mode) (if custom-buffer-verbose-help *************** *** 1419,1445 **** (widget-insert "This is a customization buffer") (if description (widget-insert description)) ! (widget-insert (format ". ! %s show active fields; type RET or click mouse-1 ! on an active field to invoke its action. Editing an option value ! changes only the text in the buffer. Invoke the State button to set or ! save the option value. Saving an option normally edits your init file. ! Invoke " ! (if custom-raised-buttons ! "`Raised' buttons" ! "Square brackets"))) (widget-create 'info-link ! :tag "Custom file" "(emacs)Saving Customizations") (widget-insert ! " for information on how to save in a different file. ! Invoke ") (widget-create 'info-link ! :tag "Help" :help-echo "Read the online help." "(emacs)Easy Customization") ! (widget-insert " for general information.\n\n") ! (widget-insert "Operate on everything in this buffer:\n ")) (widget-insert " ")) (widget-create 'push-button :tag "Set for Current Session" --- 1426,1461 ---- (widget-insert "This is a customization buffer") (if description (widget-insert description)) ! (widget-insert ". ! ! Editing an option value changes only the text in the buffer. The ! State button next to the option can be used to set or save the ! value. ! ! Saving an option normally edits your init file. See ") (widget-create 'info-link ! :button-face 'custom-link-face ! :button-prefix "" ! :button-suffix "" ! :mouse-face 'highlight ! :tag "custom file" "(emacs)Saving Customizations") (widget-insert ! "\nfor information on how to save in a different file.\n\nSee ") ! (widget-create 'info-link ! :button-face 'custom-link-face ! :button-prefix "" ! :button-suffix "" ! :mouse-face 'highlight ! :tag "help" :help-echo "Read the online help." "(emacs)Easy Customization") ! (widget-insert " for more information.\n\n") ! (unless custom-raised-buttons ! (widget-insert ! "Note: On your display type 'buttons' are represented with square\nbrackets.\n\n")) ! (widget-insert "Operate on all options in this buffer:\n ")) (widget-insert " ")) (widget-create 'push-button :tag "Set for Current Session" *************** *** 2149,2154 **** --- 2165,2174 ---- (insert " ") (push (widget-create-child-and-convert widget 'custom-group-link + :button-face 'custom-link-face + :button-prefix "" + :button-suffix "" + :mouse-face 'highlight :tag (custom-unlispify-tag-name symbol) symbol) buttons) *************** *** 2160,2166 **** (when links (insert "\nParent documentation: ") (while links ! (push (widget-create-child-and-convert widget (car links)) buttons) (setq links (cdr links)) (cond ((null links) --- 2180,2192 ---- (when links (insert "\nParent documentation: ") (while links ! (push (widget-create-child-and-convert ! widget (car links) ! :button-face 'custom-link-face ! :button-prefix "" ! :button-suffix "" ! :mouse-face 'highlight ! ) buttons) (setq links (cdr links)) (cond ((null links)