summaryrefslogtreecommitdiff
path: root/lisp/custom.el
Commit message (Collapse)AuthorAgeFilesLines
* Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-5/+5
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Johan Bockg� <bojohan at dd.chalmers.se>:Glenn Morris2007-04-251-3/+3
| | | | (defface): Doc fix.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (custom-add-frequent-value): Alias for custom-add-option.Chong Yidong2006-12-241-0/+1
|
* (defcustom): Doc fix.Glenn Morris2006-09-301-2/+2
|
* (custom-theme-set-variables): Autoload packages before sorting the variables.Stefan Monnier2006-08-311-4/+12
|
* (custom-autoload): Add `noset' argument.Stefan Monnier2006-07-171-14/+17
| | | | | (custom-push-theme): Don't autoload the variable, let callers do it. (custom-theme-set-variables): Autoload the variable if necessary.
* * custom.el (custom-push-theme): Load the variable before checkingChong Yidong2006-05-131-5/+9
| | | | its `standard-value'.
* * cus-edit.el (customize-package-emacs-version-alist): UpdateBill Wohler2006-04-141-1/+4
| | | | | | | | docstring. (customize-package-emacs-version): Use cdr instead of cadr now that alists use dotted pairs. * custom.el (defcustom): Fix docstring for :package-version.
* (defcustom): Create Common Keywords section in docstring.Bill Wohler2006-04-111-34/+30
| | | | | | | (defface, defgroup): Replace definitions of a select few keywords with a reference to the Common Keywords in defcustom. (defcustom, defface, defgroup): Replace reference to Customization chapter in manual with hyperlink.
* * custom.el (defcustom, custom-handle-keyword): Add :package-versionBill Wohler2006-04-101-0/+12
| | | | | | | | | | | keyword. (custom-add-package-version): New function. Sets value of new property 'custom-package-version from :package-version keyword. * cus-edit.el (customize-package-emacs-version-alist): New variable. (customize-changed-options): Add check for custom-package-version. (customize-package-emacs-version): New function to look up Emacs version corresponding to the given package version.
* * cus-edit.el (custom-face-set): Call custom-push-theme beforeChong Yidong2006-03-211-1/+2
| | | | | | | | | face-spec set so that `changed' theme is correctly saved. (custom-face-reset-standard): Reset to recalculated face rather than defface spec. * custom.el (custom-push-theme): Only save `changed' theme if the current face does not match the defface specs.
* * custom.el (customize-mark-to-save, customize-mark-as-set): LoadChong Yidong2006-02-201-0/+2
| | | | the symbol first.
* * custom.el (customize-mark-as-set): Push to `user' theme.Chong Yidong2006-02-191-2/+3
|
* * custom.el (customize-mark-to-save): Load the symbol'sChong Yidong2006-02-191-0/+1
| | | | dependencies, so that `standard-value' will be present.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* * cus-edit.el (custom-reset-menu, custom-reset, Custom-mode-menu)Chong Yidong2006-01-041-1/+7
| | | | | | | | | | | | | (custom-variable-menu, custom-face-menu, custom-group-menu) (custom-buffer-create-internal): Change "Reset" to "Show". Reorder menu items. (custom-link): New face for Info links. (custom-buffer-create-internal, custom-manual): Use it. * wid-edit.el (widget-default-mouse-face-get): New function. (widget-specify-button): Handle mouse-face like button-face. * custom.el (load-theme): Clear old theme settings if reloading.
* Doc fix.Chong Yidong2006-01-021-2/+2
|
* Doc fix.Chong Yidong2006-01-021-2/+0
|
* Change ordering so all the Custom Themes code is in one place.Chong Yidong2006-01-021-114/+107
| | | | Fix docstring for custom-theme-set-variables.
* * custom.el: Move Custom Themes commentary to start of theme code.Chong Yidong2006-01-021-254/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (custom-known-themes): Rename `standard' theme to `changed'. (custom-push-theme): Caller no longer specifies what theme to use when doing `reset'---the setting is simply removed from the theme. Delete MODE from `theme-value' and `theme-settings' properties. (custom-declare-theme): Ignore &rest args since we don't use them. (custom-loaded-themes): Delete variable. (custom-theme-load-themes, custom-theme-loaded-p) (custom-theme-value): Delete functions. (custom-declare-theme): Signal error on invalid theme names. (provide-theme): custom-loaded-themes was deleted. (load-theme): Load the file unconditionally. (enable-theme): Call `load-theme' if theme is undefined. (custom-enabled-themes): Only update value for successful loads. (disable-theme): Complete from enabled themes when interactive. (custom-variable-theme-value): Calculate theme value directly. (custom-theme-reset-variables, custom-reset-variables): Mark as XEmacs compatibility functions. We don't actually use these. * cus-edit.el (custom-variable-state-set): Use custom-variable-theme-value instead of custom-theme-value. (custom-face-state-set): Rename `standard' theme to `changed'. (custom-save-variables, custom-save-faces): Delete unneeded references to custom-reset-variables. (custom-save-resets): Delete function. (custom-save-variables, custom-save-faces): MODE argument deleted. (custom-save-variables, custom-save-faces): Ignore theme values. * cus-face.el (custom-theme-reset-faces): Mark as XEmacs compatibility function.
* * custom.el (provide-theme): Ban `user' theme name.Chong Yidong2005-12-311-25/+49
| | | | | | | (custom-enabling-themes): New variable. (enable-theme): Don't enable user if custom-enabling-themes is t. (custom-enabled-themes): Make it a defcustom. (custom-theme-recalc-face): No-op if face is undefined.
* (custom-load-themes): Function deleted.Richard M. Stallman2005-12-301-21/+16
|
* * custom.el (custom-push-theme): Fix docstring.Chong Yidong2005-12-241-6/+6
|
* * custom.el (custom-push-theme): Fix docstring.Chong Yidong2005-12-241-8/+9
| | | | | | * cus-edit.el (custom-variable-set, custom-variable-save, custom-variable-save): Custom-quote widget values. (customize-save-variable): Fix custom-push-theme call.
* 2005-12-23 Chong Yidong <cyd@stupidchicken.com>Chong Yidong2005-12-241-49/+60
| | | | | | | | | | | | | | * custom.el (custom-push-theme): Clarify docstring. VALUE nil for reset means to remove setting from theme entirely. Don't keep expanding theme-settings list; delete old entries if necessary. * cus-edit.el (custom-buffer-create-internal): Move "Erase customization" button one line up. (custom-themed): New face. (custom-magic-alist): New value, THEMED, for theme settings. (custom-variable-state-set): Check theme-value. (custom-variable-reset-standard, custom-face-reset-standard): Remove theme setting entirely.
* * custom.el (enable-theme): Signal error if argument is not aChong Yidong2005-11-251-2/+8
| | | | | | | theme. Don't recalculate a face if it's not loaded yet. * cus-face.el (custom-theme-set-faces): Don't change saved-face if the `user' theme is in effect.
* (defcustom): Update link types in docstring.Juri Linkov2005-11-211-4/+20
|
* (defgroup): Add doc-string-elt info.Stefan Monnier2005-11-211-0/+1
|
* (defface, defcustom): Add `doc-string' declaration.Stefan Monnier2005-10-241-0/+2
|
* * custom.el (custom-push-theme): Handle the case where a symbol isChong Yidong2005-09-121-11/+10
| | | | bound but face properties have not yet been assigned.
* Fix last change to custom-push-theme.Chong Yidong2005-09-061-1/+2
|
* Custom Theme bugfixes.Chong Yidong2005-09-051-19/+15
|
* *** empty log message ***Chong Yidong2005-09-041-12/+15
|
* (custom-theme-set-variables): Sort minor modes last.Stefan Monnier2005-08-241-9/+7
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* (custom-known-themes): Delete duplicate words.Juri Linkov2005-07-181-1/+1
|
* Whitespace changes.Luc Teirlinck2005-07-141-2/+2
|
* (custom-initialize-safe-set, custom-initialize-safe-default): Further doc fixes.Luc Teirlinck2005-07-141-4/+4
|
* (custom-initialize-safe-set, custom-initialize-safe-default): Doc fixes.Luc Teirlinck2005-07-141-6/+6
|
* (custom-reevaluate-setting): Doc fix.Luc Teirlinck2005-07-111-4/+4
|
* (custom-enable-theme): Don't add theme to `custom-enabled-themes' with `push'Juanma Barranquero2005-07-111-1/+2
| | | | because there is no setf-method for `delq'.
* (custom-declare-variable): Doc fix.Richard M. Stallman2005-07-111-6/+1
|
* Fix previous change.Richard M. Stallman2005-07-111-4/+10
|
* (custom-push-theme): Maintain list of the settingsRichard M. Stallman2005-07-111-219/+284
| | | | | | | | | | | | | | | | | | | | of a given theme in its theme-settings property. Maintain position of old settings in the theme-value or theme-face property. (custom-enabled-themes): New variable. (custom-theme-enabled-p): New function. (provide-theme): Update custom-enabled-themes. Disable and reenable the `user' theme. (require-theme): Doc fix. (custom-do-theme-reset, custom-remove-theme): Functions deleted. (custom-theme-value, custom-theme-variable-value): Likewise. (custom-theme-reset-internal): Likewise. (custom-theme-load-themes): Fix bugs and use custom-disable-theme. (custom-enable-theme, custom-disable-theme): New functions. (custom-variable-theme-value, custom-face-theme-value): Likewise. (custom-theme-recalc-variable, custom-theme-recalc-face): Likewise. (custom-theme-reset-variables): Simplify. (deftheme, custom-declare-theme, custom-make-theme-feature): Definitions moved.
* (custom-initialize-safe-set, custom-initialize-safe-default): New functions.Luc Teirlinck2005-07-101-0/+22
|
* (custom-variable-p): Make it recursively follow aliases. Mention thatLuc Teirlinck2005-07-071-1/+3
| | | | in the docstring.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (custom-add-option): Doc fix.Richard M. Stallman2005-07-031-2/+4
|