• Dave Love's avatar
    Don't define-widget-keywords. · d3d4df42
    Dave Love authored
    (multimedia): New group.
    (custom-last): Function removed.
    (custom-quote): Add vectorp case, comment out characterp case.
    (custom-buffer-done-function, custom-raised-buttons): New option.
    (Custom-buffer-done): New function.
    (custom-buffer-create-internal): Obey custom-raised-buttons,
    Custom-buffer-done.
    (custom-button-face): Make it `released-button'.
    (custom-button-pressed-face): Make it `pressed-button'
    (custom-mode-map): Bind "q" to Custom-buffer-done.
    (custom-mode): Deal with raised/pressed buttons.
    
    Changes from Didier Verna:
    (custom-prompt-variable): Optional third arg makes prompt for a comment
    string.
    (customize-set-value, customize-set-variable, customize-save-variable):
    Optional prefix makes function handle variable comments.
    (customize-customized, customize-saved, custom-variable-state-set)
    (custom-variable-set, custom-variable-save, custom-face-state-set)
    (custom-variable-reset-saved, custom-variable-reset-standard)
    (custom-face-set, custom-face-save, custom-face-reset-saved)
    (custom-face-reset-standard, customize-save-customized): Handle custom
    comments.
    (custom-comment-face, custom-comment-tag-face): New face.
    (custom-comment): New widget.
    (custom-comment-create, custom-comment-delete)
    (custom-comment-value-set, custom-comment-show)
    ()custom-comment-invisible-p): New functions.
    (custom-variable-value-create, custom-face-value-create): Create a
    comment field widget.
    (custom-variable-menu, custom-face-menu): New entry for custom comment.
    (custom-face-value-create): Remove compatibility code.
    (custom-save-variables, custom-save-faces): Possibly save custom comments.
    d3d4df42
cus-edit.el 121 KB