summaryrefslogtreecommitdiff
path: root/lisp/facemenu.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* (list-colors-print): Use :background and :foregroundRichard M. Stallman2007-12-291-2/+2
| | | | instead of background-color and foreground-color.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (facemenu-unlisted-faces): Put obsolescence info in the call toJuanma Barranquero2006-12-041-4/+3
| | | | `make-obsolete-variable', not in the docstring.
* (facemenu-unlisted-faces): Define as obsolete variable.Chong Yidong2006-12-041-0/+10
|
* (facemenu-add-new-face): Improve doc strings of constructed commands.Richard M. Stallman2006-11-281-2/+5
|
* (facemenu-add-new-face): Defend against symbol that isn't a face name.Richard M. Stallman2006-10-181-0/+3
|
* (facemenu-listed-faces): Doc fix.Richard M. Stallman2006-08-101-11/+17
|
* (facemenu-add-face): Pass frame to facemenu-active-faces.Richard M. Stallman2006-08-101-17/+26
| | | | (facemenu-set-face): Doc fix.
* * facemenu.el (facemenu-listed-faces): New var.Chong Yidong2006-07-031-41/+30
| | | | | (facemenu-unlisted-faces): Variable deleted. (facemenu-add-new-face): Use facemenu-listed-faces.
* (facemenu-color-alist): Doc fix.Richard M. Stallman2006-06-161-2/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* (facemenu-read-color): Do case-insensitive matching.Richard M. Stallman2005-07-101-4/+5
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (facemenu): Finish `defgroup' description with period.Juanma Barranquero2005-07-041-1/+1
|
* (facemenu-unlisted-faces): Delete foreground and background colorLute Kamstra2005-07-011-33/+39
| | | | | | | | | 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.
* (facemenu-add-face): Warn when font-lock is active.Richard M. Stallman2005-06-281-1/+3
|
* (facemenu-unlisted-faces): Add foreground and background color faces.Lute Kamstra2005-06-271-45/+30
| | | | | | | | | (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.
* (facemenu-enable-faces-p): New function.Richard M. Stallman2005-06-251-0/+7
| | | | | (facemenu-background-menu, facemenu-foreground-menu) (facemenu-face-menu): Add menu-enable property.
* (list-colors-print): Print #RRGGBB in default face.Juri Linkov2005-03-081-12/+12
| | | | | | | | 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.
* (global-map): Bind M-o, not M-g.Richard M. Stallman2005-03-061-4/+4
|
* * facemenu.el (list-colors-print): New function created from codeJuri Linkov2005-01-121-21/+36
| | | | | | | | 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.
* (list-colors-display): Add new arg buffer-name.Juri Linkov2005-01-111-49/+49
| | | | | | | | | | | 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.
* (facemenu-active-faces): Change condition of inner `while' loop toLuc Teirlinck2004-09-041-1/+1
| | | | also check the first two elements of `face-atts' and `mask-atts'.
* (facemenu-color-name-equal): New function.Eli Zaretskii2004-05-201-1/+27
| | | | | (list-colors-display): Use it to compare colors instead of facemenu-color-equal.
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-29/+29
|
* Move `provide' to the end.Stefan Monnier2002-07-081-3/+2
| | | | (facemenu-read-color): Don't cons unnecessarily.
* (facemenu-map): Rename to Describe TextRichard M. Stallman2002-06-171-2/+2
| | | | to Describe Properties and use describe-text-properties.
* (list-colors-display): Don't use `display-color-cells' unless theMiles Bader2002-05-091-4/+5
| | | | display class is one for which that info is relevant.
* (describe-text-at and stuff): Moved to descr-text.el.Richard M. Stallman2002-04-301-158/+0
|
* (list-text-properties-at): Command deleted.Richard M. Stallman2002-04-191-40/+3
|
* Remove require of wid-edit.Andrew Innes2002-04-181-1/+0
|
* (facemenu-add-new-face): Use this only for faces. Delete arg MENU.Richard M. Stallman2002-04-151-27/+56
| | | | | | (facemenu-add-new-color): New function. (facemenu-set-foreground, facemenu-set-background): Use facemenu-add-new-color.
* Require wid-edit.Andrew Innes2002-04-151-0/+1
|
* (facemenu-get-face): Remove unised variable `foreground'.Eli Zaretskii2002-03-241-2/+1
|
* (facemenu-add-new-face):Richard M. Stallman2002-03-141-11/+10
| | | | | | Pass region args to facemenu-set-face, when there is a region. (facemenu-set-foreground, facemenu-set-background) (facemenu-add-face): Doc fixes.
* 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>Per Abrahamsen2002-02-191-12/+1
| | | | | | | * 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-14 Per Abrahamsen <abraham@dina.kvl.dk>Per Abrahamsen2002-02-141-3/+178
| | | | | | | | | | | | | | | | | | | | | | * 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.
* (list-colors-display): If the argument is nil, don'tEli Zaretskii2002-01-251-2/+6
| | | | show more colors that the number returned by display-color-cells.
* (facemenu-active-faces):Richard M. Stallman2002-01-021-2/+2
| | | | Use face-attributes-as-vector, not face-attributes-vector.
* Remove unnecessary spaces.Pavel Janík2001-12-031-1/+1
|
* (facemenu-add-new-face): Fix variable names.Miles Bader2001-10-251-3/+3
|
* (facemenu-unlisted-faces): Improve doc stringsRichard M. Stallman2001-10-241-75/+98
| | | | | | | | | | | | | of t and nil values. (facemenu-set-face): Handle START and END interactively. (facemenu-set-foreground): Don't use a face; specify color directly. (facemenu-set-background): Likewise. (facemenu-set-face-from-menu): Doc fix. (facemenu-active-faces): Use face-attribute-vector to handle bare attributes not in faces. (facemenu-get-face): Don't handle face names fg:... and bg:... specially. (facemenu-add-new-face): New argument MENU. New way to handle adding colors to the color menus.
* (facemenu-set-face, facemenu-set-face-from-menu): Doc fix.Eli Zaretskii2001-01-271-4/+4
|
* (facemenu-unlisted-faces): Fix value.Dave Love2000-12-071-4/+4
|
* Docstrings fixes.Stefan Monnier2000-07-061-14/+14
| | | | | (facemenu-get-face): Don't use internal-find-face. (facemenu-iterate): Rename arg to match the docstring.
* (facemenu-set-face): Fix interactive prompt.Dave Love2000-05-211-1/+1
|