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

45 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Chong Yidong
d358aa106d * custom.el: Move Custom Themes commentary to start of theme code.
(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.
2006-01-02 15:11:14 +00:00
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
YAMAMOTO Mitsuharu
1505621c90 (custom-declare-face): Make face from X resources also on Mac. 2005-10-21 08:26:37 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
2c9e973fc7 (custom-theme-set-faces): Make it work.
(custom-reset-faces): Doc fix.
(custom-theme-reset-internal-face, custom-theme-face-value): Functions deleted.
2005-07-11 00:56:53 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Luc Teirlinck
403546cb0f (custom-theme-set-faces): Make it handle face aliases whose alias
declarations are pre- or autoloaded.
2005-07-04 01:44:38 +00:00
Richard M. Stallman
1265f1776f (custom-face-attributes): Add autoload. 2005-06-25 14:12:45 +00:00
Richard M. Stallman
4829145ae3 (custom-declare-face): Record defface in current-load-list. 2005-01-05 01:10:24 +00:00
Richard M. Stallman
4bbe6176dc (custom-face-attributes):
Fix :help-echo strings for :foreground and :background.
2005-01-01 14:18:22 +00:00
Richard M. Stallman
f4db52530a (custom-declare-face): Simplify code. 2004-06-13 21:56:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Richard M. Stallman
a39979074b (custom-set-faces): Call custom-theme-set-faces.
(custom-theme-set-faces): New function.
(custom-theme-face-value): New function.
(custom-theme-reset-internal-face): New function.
(custom-theme-reset-faces): New function.
(custom-reset-faces): New function.
2002-12-23 18:40:38 +00:00
Richard M. Stallman
b5188bcde8 (custom-declare-face): Add face-defface-spec prop after applying the
face spec.
2002-11-24 18:58:35 +00:00
Richard M. Stallman
992f7c96aa (custom-face-attributes): Fix typo in `ultra-bold'. 2002-04-10 14:45:37 +00:00
Miles Bader
c165ad4044 (custom-face-attributes): Make sure each attribute has a valid default
value.  Remove hacks that mapped `nil' to `off' and used nil to mean
`unspecified'.  Remove `unspecified' choices from all attributes
(unspecified is handled by the parent checklist).
2001-10-05 13:06:51 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Miles Bader
91fc999246 (custom-face-attributes): Handle mapping nil' and unspecified' to
`off' and `nil' in the :box pre-/post-filters.
2000-11-28 07:48:39 +00:00
Miles Bader
f5fc769815 (custom-face-attributes): Typo. 2000-11-28 06:52:10 +00:00
Miles Bader
36b80a0dd4 (custom-face-attributes): Add post-filter function for :box.
Make pre-filter function for :box handle all cases.
2000-11-28 06:41:19 +00:00
Miles Bader
675f1fcb15 (custom-face-attributes): Add "None" choice to :stipple. 2000-11-25 02:56:16 +00:00
Miles Bader
51a1edab45 (custom-face-attributes): Remove SET and GET functions. Add some
IN-FILTER and OUT-FILTER functions in the few cases they're needed.
2000-11-24 09:12:12 +00:00
Miles Bader
6bca30057a (custom-face-attributes):
Add support for :inherit attribute.
  Add support for relative face heights.
(custom-face-attributes-get):
  Treat `nil' as being a default value for :inherit (as well as `unspecified').
2000-08-26 11:47:02 +00:00
Dave Love
6fc596cf10 Delete obsolete URL comment. 2000-05-25 18:40:23 +00:00
Dave Love
08449ec1ec (custom-declare-face): Purecopy DOC. 1999-11-24 20:35:54 +00:00
Dave Love
1743c17a36 (custom-face-attributes): Simplify :underline, :overline,
:inverse-video cases.  Fix up :box case (probably needs more work).
Change from Didier Verna:
(custom-set-faces): The arguments can now have a custom comment as
fourth argument.
1999-09-13 13:09:30 +00:00
Gerd Moellmann
da0b1f5650 Ditto.
(custom-face-attributes): Add overline, strike-through, box.
(custom-face-attributes): Use `choice' everywhere so that "*"
can be entered.
(custom-face-attributes): Don't use `#''.
(custom-face-attributes): Accept color name.
(custom-facep): Always define as alias for facep.
(custom-face-attributes): Use choice widgets. Remove
:bold and :italic.
(custom-face-attributes): Add :bold and :italic
for compatibility with old code.
(custom-face-attributes): Use new face attributes.
(custom-declare-face): Don't make frame-local faces.
(global): Face relief added.
1999-07-21 21:43:03 +00:00
Richard M. Stallman
ada4407b16 (custom-face-attributes): Doc fix. 1998-05-05 03:29:49 +00:00
Per Abrahamsen
19823ce3b1 (custom-face-attributes): Don't initialize fg/bg fields. 1997-08-11 22:28:10 +00:00
Richard M. Stallman
971e48caaa (custom-declare-face): Call make-face-x-resource-internal. 1997-08-09 20:09:16 +00:00
Richard M. Stallman
209ddde37b (custom-declare-face): Use [set-]face-documentation. 1997-07-24 06:03:00 +00:00
Per Abrahamsen
06382f34df Use color' instead of editable-color'. 1997-07-04 12:03:12 +00:00
Richard M. Stallman
a1057d5616 (custom-face-attributes): Use editable-color widget. 1997-07-03 07:12:19 +00:00
Per Abrahamsen
9432de85b7 Use booleans. 1997-06-15 15:25:57 +00:00
Richard M. Stallman
5c431d1495 (custom-face-attributes): Add :inverse-video. 1997-05-25 21:49:30 +00:00
Richard M. Stallman
ccd0d40c98 (custom-facep): Defined (once again). 1997-05-17 06:39:39 +00:00
Per Abrahamsen
5f0cfe8bff Changed version number. 1997-04-26 14:56:02 +00:00
Per Abrahamsen
b55b7fd7a7 *** empty log message *** 1997-04-26 13:40:48 +00:00
Richard M. Stallman
6c283d441d Major simplification; most of file contents deleted.
factory-face property renamed to face-defface-spec.
1997-04-21 04:01:41 +00:00
Per Abrahamsen
bd042c030f Sync with 1.84. 1997-04-12 17:51:31 +00:00
Richard M. Stallman
dc545b21d1 Don't add custom-initialize-frame to after-make-frame-hook. 1997-04-11 19:54:36 +00:00
Richard M. Stallman
7677344385 (custom-initialize-frame): Add autoload cookie. 1997-04-10 07:23:30 +00:00
Per Abrahamsen
d543e20b61 Initial revision 1997-04-07 13:42:59 +00:00