1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

118 Commits

Author SHA1 Message Date
Chong Yidong
e335f09e0e * custom.el (enable-theme): Signal error if argument is not a
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.
2005-11-25 18:00:10 +00:00
Juri Linkov
11ee7d4e70 (defcustom): Update link types in docstring. 2005-11-21 07:56:50 +00:00
Stefan Monnier
45aacac640 (defgroup): Add doc-string-elt info. 2005-11-21 00:01:06 +00:00
Stefan Monnier
67a60caa35 (defface, defcustom): Add `doc-string' declaration. 2005-10-24 16:17:11 +00:00
Chong Yidong
d5c16b0523 * custom.el (custom-push-theme): Handle the case where a symbol is
bound but face properties have not yet been assigned.
2005-09-12 22:05:17 +00:00
Chong Yidong
f4885d8137 Fix last change to custom-push-theme. 2005-09-06 03:14:46 +00:00
Chong Yidong
79a0aa1174 Custom Theme bugfixes. 2005-09-05 19:50:02 +00:00
Chong Yidong
87d737aed0 *** empty log message *** 2005-09-04 18:00:43 +00:00
Stefan Monnier
b6790c3eec (custom-theme-set-variables): Sort minor modes last. 2005-08-24 11:49:07 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juri Linkov
9b05fb2280 (custom-known-themes): Delete duplicate words. 2005-07-18 15:17:30 +00:00
Luc Teirlinck
c94112bff8 Whitespace changes. 2005-07-14 01:19:10 +00:00
Luc Teirlinck
f0856b6f49 (custom-initialize-safe-set, custom-initialize-safe-default): Further doc fixes. 2005-07-14 01:17:35 +00:00
Luc Teirlinck
a042b6ae07 (custom-initialize-safe-set, custom-initialize-safe-default): Doc fixes. 2005-07-14 01:01:37 +00:00
Luc Teirlinck
051268946f (custom-reevaluate-setting): Doc fix. 2005-07-11 23:41:11 +00:00
Juanma Barranquero
ba2c4279e0 (custom-enable-theme): Don't add theme to custom-enabled-themes' with push'
because there is no setf-method for `delq'.
2005-07-11 06:12:55 +00:00
Richard M. Stallman
8989771d60 (custom-declare-variable): Doc fix. 2005-07-11 05:41:57 +00:00
Richard M. Stallman
d2dafb85a5 Fix previous change. 2005-07-11 01:05:17 +00:00
Richard M. Stallman
46ce5febbd (custom-push-theme): Maintain list of the settings
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.
2005-07-11 00:57:23 +00:00
Luc Teirlinck
ff48d7e6f0 (custom-initialize-safe-set, custom-initialize-safe-default): New functions. 2005-07-10 16:32:59 +00:00
Luc Teirlinck
289e1999ce (custom-variable-p): Make it recursively follow aliases. Mention that
in the docstring.
2005-07-07 23:12:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
a4842ffa6e (custom-add-option): Doc fix. 2005-07-03 16:09:07 +00:00
Luc Teirlinck
9c4b6e94bf (custom-declare-variable): Fix typos in comment.
(custom-known-themes): Doc fix.
(custom-theme-directory): New defcustom.
(require-theme): Make it check `custom-theme-directory'.
2005-07-02 22:52:27 +00:00
Richard M. Stallman
9c27debdf0 (defface): Doc fix. 2005-04-13 17:39:00 +00:00
Luc Teirlinck
5c5fc296bc (custom-set-minor-mode): Any non-nil value for the variable should
enable the mode when set through Custom.
2005-04-10 18:38:43 +00:00
Stefan Monnier
059290d619 (custom-reevaluate-setting): Simple function to handle variables
that are defined before their default value can really be computed.
(custom-theme-set-variables): Remove unused var `immediate'.
2005-03-06 00:27:53 +00:00
Luc Teirlinck
4b52e77985 (custom-theme-set-variables): Handle variable aliases. 2005-02-12 17:56:32 +00:00
Richard M. Stallman
84acdbc358 (defface): Doc fix. 2005-02-10 06:41:26 +00:00
John Paul Wallington
808882608a (custom-declare-variable): Just put symbol instead of (defvar . symbol)
on `current-load-list'.
2005-01-12 22:49:19 +00:00
Richard M. Stallman
f1a262ed14 (custom-set-variables, custom-theme-set-variables): Clarify documentation. 2005-01-06 03:58:33 +00:00
Luc Teirlinck
19229e5e7d (defcustom): Doc fix. 2004-07-29 01:47:01 +00:00
Juri Linkov
ec85856c24 (defface): Add `supports' to docstring. 2004-06-06 02:46:29 +00:00
Jan Djärv
9b44aa8b6f * custom.el (defface): Document that type can have value gtk.
* faces.el (face-spec-set-match-display): Handle type gtk in display.
2004-05-12 09:23:02 +00:00
Juanma Barranquero
494bcd27cb (custom-initialize-default, defcustom): Fix typo in docstring. 2004-05-10 22:08:58 +00:00
Eli Zaretskii
97cc3d15d4 Fix copyright years. 2004-02-27 17:30:23 +00:00
Eli Zaretskii
6e16699005 (defface): Add documentation for `min-colors'. 2004-02-27 17:00:58 +00:00
Eli Zaretskii
7f9b63222e (custom-declare-theme): Use value' when putting properties on theme'. 2003-12-29 11:54:03 +00:00
Sam Steingold
2a69edce13 doc typo fix 2003-11-11 14:28:53 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
a8c78057ff (custom-load-symbol): Load cus-load and cus-start first. 2003-08-17 00:17:16 +00:00
Stefan Monnier
df38096221 (custom-set-minor-mode): New fun. 2003-03-13 18:10:41 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
John Paul Wallington
e2cd29bdb4 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
* emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
`deftheme'.  Fix docstring offsets for `define-ibuffer-filter' and
`define-ibuffer-sorter'.
(lisp-imenu-generic-expression): Add `deftheme' to types.

* custom.el (customize-mark-to-save, customize-mark-as-set)
(custom-remove-theme): Doc fixes.
2003-01-29 21:45:56 +00:00
Markus Rost
1669290db3 (custom-autoload, custom-variable-p): New functions. 2003-01-07 18:33:18 +00:00
Richard M. Stallman
e1bab1818a (custom-known-themes): New variable.
(custom-declare-theme): New function.
(deftheme): New macro.
(custom-make-theme-feature): New function.
(custom-theme-p): New function.
(custom-check-theme): New function.
(custom-push-theme): New function.
(custom-theme-set-variables): Take themes into account.
(custom-loaded-themes): New variable.
(custom-theme-loaded-p): New function.
(provide-theme): New function.
(require-theme): New function.
(custom-remove-theme): New function.
(custom-do-theme-reset): New function.
(custom-theme-load-themes): New function.
(custom-load-themes): New function.
(custom-theme-value): New function.
(custom-theme-variable-value): New function.
(custom-theme-reset-internal): New function.
(custom-theme-reset-variables): New function.
(custom-reset-variables): New function.
2002-12-23 18:40:55 +00:00
Dave Love
64e9f9d927 (defcustom, custom-set-variables): Doc fix. 2002-12-12 20:27:09 +00:00
Stefan Monnier
6f0d61bf2c (custom-declare-variable): Use push.
Use the (defvar . <sym>) format in load-history like `defvar' does.
2002-11-20 14:35:54 +00:00
Markus Rost
1b527a7e02 (custom-declare-group): Remove unnecessary line of code. 2002-11-14 21:37:10 +00:00
Markus Rost
9b6098b97d (custom-handle-all-keywords): Fix arg passed to custom-add-to-group. 2002-11-13 02:27:21 +00:00