Variable: custom-commands

custom-commands is a variable defined in cus-edit.el.gz.

Value

((" Apply " Custom-set t
  "Apply settings (for the current session only)." "index" "Apply"
  (modified))
 (" Apply and Save " Custom-save (or custom-file user-init-file)
  "Apply settings and save for future sessions." "save" "Save"
  (modified set changed rogue))
 (" Undo Edits " Custom-reset-current t
  "Restore customization buffer to reflect existing settings."
  "refresh" "Undo" (modified))
 (" Reset Customizations " Custom-reset-saved t
  "Undo any settings applied only for the current session." "undo"
  "Reset" (modified set changed rogue))
 (" Erase Customizations " Custom-reset-standard
  (or custom-file user-init-file)
  "Un-customize settings in this and future sessions." "delete"
  "Uncustomize" (modified set changed rogue saved))
 (" Toggle hiding all values " custom-toggle-hide-all-widgets t
  "Toggle hiding all values." "hide" "Hide" t)
 (" Help for Customize " Custom-help t "Get help for using Customize."
  "help" "Help" t)
 (" Exit " Custom-buffer-done t "Exit Customize." "exit" "Exit" t))

Documentation

Alist of specifications for Customize menu items, tool bar icons and buttons.

Each member has the format (TAG COMMAND VISIBLE HELP ICON LABEL ENABLE). TAG is a string, used as the :tag property of a widget. COMMAND is the command that the item or button runs. VISIBLE should be a form, suitable to pass as the :visible property for menu or tool bar items. HELP should be a string that can be used as the help echo property for tooltips and the like. ICON is a string that names the image to use for the tool bar item, like in the first argument of tool-bar-local-item. LABEL should be a string, used as the name of the menu items. ENABLE should be a list of custom states or t. When ENABLE is t, the item is always enabled. Otherwise, it is enabled only if at least one option displayed in the Custom buffer is in a state present in ENABLE.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
;;; Custom Mode Commands.

;; This variable is used by `custom-tool-bar-map', or directly by
;; `custom-buffer-create-internal' if `custom-buffer-verbose-help' is non-nil.

(defvar custom-commands
  '((" Apply " Custom-set t "Apply settings (for the current session only)."
     "index" "Apply" (modified))
    (" Apply and Save " Custom-save (or custom-file user-init-file)
     "Apply settings and save for future sessions." "save" "Save"
     (modified set changed rogue))
    (" Undo Edits " Custom-reset-current t
     "Restore customization buffer to reflect existing settings."
     "refresh" "Undo" (modified))
    (" Reset Customizations " Custom-reset-saved t
     "Undo any settings applied only for the current session." "undo" "Reset"
     (modified set changed rogue))
    (" Erase Customizations " Custom-reset-standard
     (or custom-file user-init-file)
     "Un-customize settings in this and future sessions." "delete" "Uncustomize"
     (modified set changed rogue saved))
    (" Toggle hiding all values " custom-toggle-hide-all-widgets
     t "Toggle hiding all values."
     "hide" "Hide" t)
    (" Help for Customize " Custom-help t "Get help for using Customize."
     "help" "Help" t)
    (" Exit " Custom-buffer-done t "Exit Customize." "exit" "Exit" t))
  "Alist of specifications for Customize menu items, tool bar icons and buttons.
Each member has the format (TAG COMMAND VISIBLE HELP ICON LABEL ENABLE).
TAG is a string, used as the :tag property of a widget.
COMMAND is the command that the item or button runs.
VISIBLE should be a form, suitable to pass as the :visible property for menu
or tool bar items.
HELP should be a string that can be used as the help echo property for tooltips
and the like.
ICON is a string that names the image to use for the tool bar item, like in the
first argument of `tool-bar-local-item'.
LABEL should be a string, used as the name of the menu items.
ENABLE should be a list of custom states or t.  When ENABLE is t, the item is
always enabled.  Otherwise, it is enabled only if at least one option displayed
in the Custom buffer is in a state present in ENABLE.")