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

103 Commits

Author SHA1 Message Date
Dan Nicolaescu
f31b125795 * faces.el (xw-defined-colors):
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.

* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Dan Nicolaescu
ef49d20fe8 * font-lock.el (featurep): Remove test, not useful anymore.
(facemenu-keymap): Move key binding ...
* facemenu.el (facemenu-keymap): ... here.
2008-03-14 16:15:49 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
b201b9880e Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
2008-01-02 02:20:42 +00:00
Richard M. Stallman
78056104e0 (list-colors-print): Use :background and :foreground
instead of background-color and foreground-color.
2007-12-29 19:01:40 +00:00
Martin Rudalics
4644fd351f (list-colors-display): Use with-help-window instead of with-output-to-temp-buffer. 2007-11-10 09:57:52 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
d9f2959ea6 (facemenu-unlisted-faces): Put obsolescence info in the call to
`make-obsolete-variable', not in the docstring.
2006-12-04 16:49:31 +00:00
Chong Yidong
ed50f0d233 (facemenu-unlisted-faces): Define as obsolete variable. 2006-12-04 16:09:21 +00:00
Richard M. Stallman
3187841b68 (facemenu-add-new-face): Improve doc strings of constructed commands. 2006-11-28 02:19:58 +00:00
Richard M. Stallman
f3359de125 (facemenu-add-new-face): Defend against symbol that isn't a face name. 2006-10-18 10:51:00 +00:00
Richard M. Stallman
d7beaf5382 (facemenu-listed-faces): Doc fix. 2006-08-10 04:31:21 +00:00
Richard M. Stallman
cd7890bd1a (facemenu-add-face): Pass frame to facemenu-active-faces.
(facemenu-set-face): Doc fix.
2006-08-10 04:00:34 +00:00
Chong Yidong
b6a6750730 * facemenu.el (facemenu-listed-faces): New var.
(facemenu-unlisted-faces): Variable deleted.
	(facemenu-add-new-face): Use facemenu-listed-faces.
2006-07-03 14:31:35 +00:00
Richard M. Stallman
a926c9ceed (facemenu-color-alist): Doc fix. 2006-06-16 15:13:21 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
5bcc074b49 (facemenu-read-color): Do case-insensitive matching. 2005-07-10 17:20:02 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
8e51619c31 (facemenu): Finish `defgroup' description with period. 2005-07-04 02:04:45 +00:00
Lute Kamstra
b97c98ad01 (facemenu-unlisted-faces): Delete foreground and background color
faces.
(facemenu-set-foreground, facemenu-set-background): Use
facemenu-set-face-from-menu.
(facemenu-set-face-from-menu): Treat face names that start with "fg:"
or "bg:" as special.
(facemenu-add-new-color): Don't create faces.  Simplify.
2005-07-01 08:30:30 +00:00
Richard M. Stallman
97a7aa7b36 (facemenu-add-face): Warn when font-lock is active. 2005-06-28 18:55:48 +00:00
Lute Kamstra
019b1899e5 (facemenu-unlisted-faces): Add foreground and background color faces.
(facemenu-get-face): Delete function.
(facemenu-set-face-from-menu): Don't call facemenu-get-face.
(facemenu-add-new-color): Make second argument mandatory.  Create the
approprate face and return it.  Simplify.
(facemenu-set-foreground, facemenu-set-background): Don't check if
color is defined.  Use return value of facemenu-add-new-color.
2005-06-27 07:31:49 +00:00
Richard M. Stallman
6c763f3667 (facemenu-enable-faces-p): New function.
(facemenu-background-menu, facemenu-foreground-menu)
(facemenu-face-menu): Add menu-enable property.
2005-06-25 22:24:10 +00:00
Juri Linkov
51d23bd053 (list-colors-print): Print #RRGGBB in default face.
Remove 1 space before #RRGGBB to not truncate it on terminal
windows w/o fringes.  Remove 1 space between bg and fg examples
to get more space.
(list-colors-duplicates): Replace `and' with `if' for `boundp' to
avoid byte-compile warnings.
2005-03-08 21:47:03 +00:00
Richard M. Stallman
6be7d8dbeb (global-map): Bind M-o, not M-g. 2005-03-06 20:44:33 +00:00
Juri Linkov
987d1819c1 * facemenu.el (list-colors-print): New function created from code
in list-colors-display.  Print #RRGGBB at the window right edge.
(list-colors-display): When temp-buffer-show-function is not
defined, call list-colors-print from temp-buffer-show-hook
to get the right value of window-width in list-colors-print
after the buffer is displayed.
2005-01-12 00:33:00 +00:00
Juri Linkov
066a23af25 (list-colors-display): Add new arg buffer-name.
Use it.  Fix docstring.  Replace code for identifying duplicate
colors by the name with call to `list-colors-duplicates' which
identifies duplicate colors by the value unless the color
is one of special Windows colors.  Set truncate-lines to t.
Print sorted duplicate color names on each line.  Indent to 22
\(the longest color name in rgb.txt) instead of 20.  Optimize.
(list-colors-duplicates): New function.
(facemenu-color-name-equal): Delete function.
2005-01-11 23:53:35 +00:00
Luc Teirlinck
240c0c90e5 (facemenu-active-faces): Change condition of inner `while' loop to
also check the first two elements of `face-atts' and `mask-atts'.
2004-09-04 19:13:40 +00:00
Eli Zaretskii
64867fce6d (facemenu-color-name-equal): New function.
(list-colors-display): Use it to compare colors instead of
facemenu-color-equal.
2004-05-20 16:59:22 +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
Stefan Monnier
1ff4ace585 Move `provide' to the end.
(facemenu-read-color): Don't cons unnecessarily.
2002-07-08 01:21:41 +00:00
Richard M. Stallman
cea5ec30b4 (facemenu-map): Rename to Describe Text
to Describe Properties and use describe-text-properties.
2002-06-17 16:14:37 +00:00
Miles Bader
d259670027 (list-colors-display): Don't use `display-color-cells' unless the
display class is one for which that info is relevant.
2002-05-09 18:05:10 +00:00
Richard M. Stallman
641c04b9f0 (describe-text-at and stuff): Moved to descr-text.el. 2002-04-30 04:59:24 +00:00
Richard M. Stallman
0af1db4225 (list-text-properties-at): Command deleted. 2002-04-19 00:27:07 +00:00
Andrew Innes
a03c7d2406 Remove require of wid-edit. 2002-04-18 12:08:40 +00:00
Richard M. Stallman
9bf4c4e564 (facemenu-add-new-face): Use this only for faces. Delete arg MENU.
(facemenu-add-new-color): New function.
(facemenu-set-foreground, facemenu-set-background):
Use facemenu-add-new-color.
2002-04-15 22:05:52 +00:00
Andrew Innes
772f363f27 Require wid-edit. 2002-04-15 10:25:19 +00:00
Eli Zaretskii
c7bce5f21f (facemenu-get-face): Remove unised variable `foreground'. 2002-03-24 19:17:10 +00:00
Richard M. Stallman
af1eab213c (facemenu-add-new-face):
Pass region args to facemenu-set-face, when there is a region.
(facemenu-set-foreground, facemenu-set-background)
(facemenu-add-face): Doc fixes.
2002-03-14 08:52:16 +00:00
Per Abrahamsen
9b2d1d408c 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
* facemenu.el (describe-text-mode-map): Removed bootstrap kludge.

	* toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
	* menu-bar.el (menu-bar-mode): Ditto.
2002-02-19 10:30:30 +00:00
Per Abrahamsen
0e520006a8 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
* facemenu.el (describe-text-done): New function.
	(describe-text-mode-map): New variable.
	(describe-text-mode-hook): New option.
	(describe-text-mode): New function.
	(describe-text-widget): New function.
	(describe-text-sexp): New function.
	(describe-text-properties): New function.
	(describe-text-category): New command.
	(describe-text-at): New command.
	(facemenu-menu): Replace `list-text-properties-at' with
	`describe-text-at' in the menu.

	* wid-edit.el (widgetp): New function.
	* wid-edit.el (widget-keymap, widget-insert, widget-setup):
	Autoloaded.

	* emacs-lisp/pp.el (pp-to-string): Autoloaded.

	* wid-browse.el: Removed version and x-url keywords.
2002-02-14 16:47:11 +00:00
Eli Zaretskii
6062889d6f (list-colors-display): If the argument is nil, don't
show more colors that the number returned by display-color-cells.
2002-01-25 13:11:49 +00:00
Richard M. Stallman
f790dddf6d (facemenu-active-faces):
Use face-attributes-as-vector, not face-attributes-vector.
2002-01-02 22:56:12 +00:00
Pavel Janík
220c969f6e Remove unnecessary spaces. 2001-12-03 06:09:24 +00:00
Miles Bader
1d792b181b (facemenu-add-new-face): Fix variable names. 2001-10-25 01:08:52 +00:00