;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302!\207" [require widget cus-edit] 2)
#@37 Keymap for `custom-new-theme-mode'.
(defvar custom-new-theme-mode-map (byte-code "\303 \304\305 \n\"\"\210\306!\210\307\310\311#\210\307\312\313#\210\307\314\315#\210\307\316\317#\210)\207" [map widget-keymap special-mode-map make-keymap set-keymap-parent make-composed-keymap suppress-keymap define-key "" custom-theme-write "q" Custom-buffer-done "n" widget-forward "p" widget-backward] 5) (#$ . 477))
(defvar custom-new-theme-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [custom-new-theme-mode-hook variable-documentation put "Hook run after entering Custom-Theme mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp custom-new-theme-mode-map definition-name custom-new-theme-mode] 4)
(defvar custom-new-theme-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\317#\207" [custom-new-theme-mode-abbrev-table custom-new-theme-mode-map variable-documentation put purecopy "Keymap for `custom-new-theme-mode'." boundp custom-new-theme-mode-syntax-table definition-name custom-new-theme-mode (lambda (#1=#:def-tmp-var) (defvar custom-new-theme-mode-syntax-table #1#)) make-syntax-table "Syntax table for `custom-new-theme-mode'." (lambda (#1#) (defvar custom-new-theme-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `custom-new-theme-mode'." derived-mode-parent] 5)
#@252 Major mode for editing Custom themes.
Do not call this mode function yourself. It is meant for internal use.
This mode runs the hook `custom-new-theme-mode-hook', as the final or penultimate step
during initialization.
\{custom-new-theme-mode-map}
(defalias 'custom-new-theme-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\313!\210\315 \210\306\316!\210\317)\320\321!\207" [delay-mode-hooks major-mode mode-name custom-new-theme-mode-map custom-new-theme-mode-syntax-table custom-new-theme-mode-abbrev-table make-local-variable t kill-all-local-variables custom-new-theme-mode "Custom-Theme" use-local-map set-syntax-table custom--initialize-widget-variables revert-buffer-function custom-theme-revert run-mode-hooks custom-new-theme-mode-hook local-abbrev-table] 2 (#$ . 2172) nil])
(put 'custom-new-theme-mode 'mode-class 'special)
(defvar custom-theme-name nil)
(defvar custom-theme-variables nil)
(defvar custom-theme-faces nil)
(defvar custom-theme-description nil)
(defvar custom-theme--migrate-settings nil)
(defvar custom-theme-insert-variable-marker nil)
(defvar custom-theme-insert-face-marker nil)
#@55 Faces listed by default in the *Custom Theme* buffer.
(defvar custom-theme--listed-faces '(default cursor fixed-pitch variable-pitch escape-glyph homoglyph minibuffer-prompt highlight region shadow secondary-selection trailing-whitespace font-lock-builtin-face font-lock-comment-delimiter-face font-lock-comment-face font-lock-constant-face font-lock-doc-face font-lock-function-name-face font-lock-keyword-face font-lock-negation-char-face font-lock-preprocessor-face font-lock-regexp-grouping-backslash font-lock-regexp-grouping-construct font-lock-string-face font-lock-type-face font-lock-variable-name-face font-lock-warning-face button link link-visited fringe header-line tooltip mode-line mode-line-buffer-id mode-line-emphasis mode-line-highlight mode-line-inactive isearch isearch-fail lazy-highlight match next-error query-replace) (#$ . 3320))
#@337 Create or edit a custom theme.
THEME, if non-nil, should be an existing theme to edit. If THEME
is `user', the resulting *Custom Theme* buffer also contains a
checkbox for removing the theme settings specified in the buffer
from the Custom save file.
BUFFER, if non-nil, should be a buffer to use; the default is
named *Custom Theme*.
(defalias 'customize-create-theme #[(&optional theme buffer) "\306\307\206 \310!!\210\311\312 \210\313ed\"\314\211\203( @\315\n!\210A\211\204 +\316 \210\317\320!\210\317\305!\210\f\317\321!\210\314\317\322!\210\314\317\323!\210\324\317\325!\210\314\317\326!\210\317\327!\210\317\330!\210\331\332!\203m \333\334!\204m \314\f\335=\203w \336\337!\210\340\341\342\343\344\345\346\347&\210\336\350!\210\340\341\342\351\344\352\346\353&\210\336\350!\210\340\341\342\354\344\355\346\356&\210\336\357!\210\340\360\361\f\203\267 \f\335=\204\267 \362\f!\202\270 \324#\336\363!\210\340\364\361\365\366!#\340\341\367\370\371$\210\f\335=\203\355 \311\336\350!\210\340\372\361\346\373%\210\336\374\375\376\377#!\210\314\211\211\211@ABC\f\203X\f\335=\204\201E \f\314\311#\210\f\201F N\314D\211\203W@\211D@\201G =\203<DA@CBC\201H D8BBB\202PDA@ABA\201H D8@B@A\211\204*\336\201I !\210\f\203}A\203\233\201J A\211AA\242@\211A@\242\"\210\202b\314>\211\203\232@>\201J >\314\"\210A\211\204\207*\201K \336\201L !\210\340\341\342\201M \344\201N \201O \201P \201Q \201R \201S \201T \201U \201T \346\201V &\210\336\201W !\210\f\203C\203C@\201X =\203\373C\210CACB\211AB\210\202\332\201Y C\211AC\242\201Z B\211AB\242!\"\210\202\332\201K \336\201L !\210\340\341\342\201[ \344\201\\ \201O \201P \201Q \201R \201S \201T \201U \201T \346\201] &\210\336\201^ !\210\201_ \210eb\210\201` \324!,\207" [buffer inhibit-read-only ov --dolist-tail-- theme custom-theme--save-name switch-to-buffer get-buffer-create "*Custom Theme*" t erase-buffer overlays-in nil delete-overlay custom-new-theme-mode make-local-variable custom-theme-name custom-theme-faces custom-theme-variables custom-theme-description "" custom-theme--migrate-settings custom-theme-insert-face-marker custom-theme-insert-variable-marker custom-theme--listed-faces called-interactively-p interactive y-or-n-p "Include basic face customizations in this theme? " user widget-insert "This buffer contains all the Custom settings you have made.\nYou can convert them into a new custom theme, and optionally\nremove them from your saved Custom file.\n\n" widget-create push-button :tag " Visit Theme " :help-echo "Insert the settings of a pre-defined theme." :action #[(_widget &optional _event) "\300\301!\207" [call-interactively custom-theme-visit-theme] 2] " " " Merge Theme " "Merge in the settings of a pre-defined theme." #[(_widget &optional _event) "\300\301!\207" [call-interactively custom-theme-merge-theme] 2] " Revert " "Revert this buffer to its original state." #[(&rest ignored) "\300 \207" [revert-buffer] 1] "\n\nTheme name : " editable-field :value symbol-name "Description: " text format-time-string "Created %Y-%m-%d." :notify custom-theme-write " Save Theme " checkbox #[(widget &optional event) "\303!\205 \304 \"\210\303!\211\207" [widget event custom-theme--migrate-settings widget-value widget-toggle-action] 3] propertize " Remove saved theme settings from Custom save file." face (variable-pitch (:height 0.9)) face-specs faces values vars setting load-theme theme-settings theme-value 3 "\n\n Theme faces:\n " custom-theme-add-face-1 point-marker " " "Insert Additional Face" "Add another face to this theme." :follow-link mouse-face :button-face custom-link :mouse-face highlight :pressed-face #[(_widget &optional _event) "\300\301!\207" [call-interactively custom-theme-add-face] 2] "\n\n Theme variables:\n " custom-enabled-themes custom-theme-add-var-1 eval "Insert Variable" "Add another variable to this theme." #[(_widget &optional _event) "\300\301!\207" [call-interactively custom-theme-add-variable] 2] 10 widget-setup message] 17 (#$ . 4183) nil])
#@109 Revert the current *Custom Theme* buffer.
This is the `revert-buffer-function' for `custom-new-theme-mode'.
(defalias 'custom-theme-revert #[(_ignore-auto noconfirm) "\204\n \302\303!\205 \304 p\"\207" [noconfirm custom-theme--save-name y-or-n-p "Discard current changes? " customize-create-theme] 3 (#$ . 8255)])
#@189 Add a widget for VAR (a symbol) to the *New Custom Theme* buffer.
VALUE should be a value to which to set the widget; when called
interactively, this defaults to the current value of VAR.
(defalias 'custom-theme-add-variable #[(var value) " \236\211\204 \212b\210\306\f\"\210`\307\223\210\310 )\2022 \311\nA@\312\"\210\313\n8\314
\315\fC#\210\316
!))\207" [var custom-theme-variables entry custom-theme-insert-variable-marker value widget custom-theme-add-var-1 nil widget-setup widget-value-set t 2 widget-put :shown-value custom-redraw] 5 (#$ . 8578) (let ((v (read-variable "Variable name: "))) (list v (symbol-value v)))])
(defalias 'custom-theme-add-var-1 #[(symbol val) "\303\304!\210\305\306\307\310\311\312%\303\304!\210\305\313\314\315!\307\316 C\317\320\321\322\323\324\325\326&E\nB\303\304!\207" [symbol val custom-theme-variables widget-insert " " widget-create checkbox :value t :help-echo "Enable/disable this variable." custom-variable :tag custom-unlispify-tag-name :shown-value :notify ignore :custom-level 0 :custom-state hidden :custom-style simple] 18])
#@136 Add a widget for FACE (a symbol) to the *New Custom Theme* buffer.
SPEC, if non-nil, should be a face spec to which to set the widget.
(defalias 'custom-theme-add-face #[(face &optional spec) "\306!\204 \204 \307\310\"\210\n\236\211\204+ \212\fb\210\311 \"\210\f`\312\223\210\313 )\202Q \203G \314A@\315\"\210\3168\317
\320 #\210\321
!)\202Q \322\323!\205Q \307\324\")\207" [face spec custom-theme-faces entry custom-theme-insert-face-marker widget facep error "`%s' has no face definition" custom-theme-add-face-1 nil widget-setup widget-value-set t 2 widget-put :shown-value custom-redraw called-interactively-p interactive "`%s' is already present"] 5 (#$ . 9671) (list (read-face-name "Face name" (face-at-point t)))])
(defalias 'custom-theme-add-face-1 #[(symbol spec) "\303\304!\210\305\306\307\310\311\312%\303\304!\210\305\313\314\315!\316\310\307\317\320\321\322\323 \324\325&E\nB\303\304!\207" [symbol spec custom-theme-faces widget-insert " " widget-create checkbox :value t :help-echo "Enable/disable this face." custom-face :tag custom-unlispify-tag-name :documentation-shown :custom-state hidden :custom-style simple :shown-value :sample-indent 34] 18])
#@52 Set up a Custom buffer to edit custom theme THEME.
(defalias 'custom-theme-visit-theme #[(theme) "\303!\204 \304\305\"\210 \306=\204 \307!\207\310\311!\205! \312\313\314\"\207" [theme major-mode custom-theme--save-name custom-theme-name-valid-p error "No valid theme named `%s'" custom-new-theme-mode customize-create-theme y-or-n-p "Discard current changes? " custom-theme-revert nil t] 3 (#$ . 10863) (list (intern (completing-read "Find custom theme: " (mapcar 'symbol-name (custom-available-themes)))))])
#@66 Merge the custom theme THEME's settings into the current buffer.
(defalias 'custom-theme-merge-theme #[(theme) "\306=\204 \307!\204 \310\311\"\210\312\313\314#\210\315\316N!\211\313\211\203V @\211@\317=\nA@\320\n8\211\203@
\321>\204N \203I \322\202J \323
\f\"\210+A\211\204% +\207" [theme settings setting --dolist-tail-- value name user custom-theme-name-valid-p error "Invalid theme name `%s'" load-theme nil t reverse theme-settings theme-value 3 (custom-enabled-themes custom-safe-themes) custom-theme-add-variable custom-theme-add-face option] 5 (#$ . 11385) (list (intern (completing-read "Merge custom theme: " (mapcar 'symbol-name (custom-available-themes)))))])
#@51 Write the current custom theme to its theme file.
(defalias 'custom-theme-write #[(&rest _ignore) "\306!\306\n!\f78\3079 \310\230\203\" |