diff options
| author | Glenn Morris | 2010-10-23 18:48:39 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-23 18:48:39 -0700 |
| commit | 46710489c856df3ec94c822d1d88be30d19159f9 (patch) | |
| tree | 1daaab6aa01507ef7c1e2380e513566085ebdab5 | |
| parent | ea88388346b71bef26c5c8b405c2a936f918952e (diff) | |
| download | emacs-46710489c856df3ec94c822d1d88be30d19159f9.tar.gz emacs-46710489c856df3ec94c822d1d88be30d19159f9.zip | |
Remove duplicate definition of tty-defined-color-alist.
* src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
Lisp version.
* lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate
definition of C variable.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/term/tty-colors.el | 10 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xfaces.c | 11 |
4 files changed, 14 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc85e829dfe..24fe1463543 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * term/tty-colors.el (tty-defined-color-alist): Remove duplicate | ||
| 4 | definition of C variable. | ||
| 5 | |||
| 3 | * frame.el (show-trailing-whitespace, auto-hscroll-mode) | 6 | * frame.el (show-trailing-whitespace, auto-hscroll-mode) |
| 4 | (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): | 7 | (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): |
| 5 | Don't redefine things that are defined in C. | 8 | Don't redefine things that are defined in C. |
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el index cc462455517..df45dc192a7 100644 --- a/lisp/term/tty-colors.el +++ b/lisp/term/tty-colors.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; tty-colors.el --- color support for character terminals | 1 | ;;; tty-colors.el --- color support for character terminals |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2008, 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Eli Zaretskii | 6 | ;; Author: Eli Zaretskii |
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| @@ -768,11 +768,6 @@ | |||
| 768 | (yes . 8)) | 768 | (yes . 8)) |
| 769 | "An alist of supported standard tty color modes and their aliases.") | 769 | "An alist of supported standard tty color modes and their aliases.") |
| 770 | 770 | ||
| 771 | (defvar tty-defined-color-alist nil | ||
| 772 | "An alist of defined terminal colors and their RGB values. | ||
| 773 | |||
| 774 | See the docstring of `tty-color-alist' for the details.") | ||
| 775 | |||
| 776 | (defun tty-color-alist (&optional frame) | 771 | (defun tty-color-alist (&optional frame) |
| 777 | "Return an alist of colors supported by FRAME's terminal. | 772 | "Return an alist of colors supported by FRAME's terminal. |
| 778 | FRAME defaults to the selected frame. | 773 | FRAME defaults to the selected frame. |
| @@ -1039,5 +1034,4 @@ A color is considered gray if the 3 components of its RGB value are equal." | |||
| 1039 | (setq colors (cdr colors))) | 1034 | (setq colors (cdr colors))) |
| 1040 | count)) | 1035 | count)) |
| 1041 | 1036 | ||
| 1042 | ;; arch-tag: 84d5c3ef-ae22-4754-99ac-e6350c0967ae | ||
| 1043 | ;;; tty-colors.el ends here | 1037 | ;;; tty-colors.el ends here |
diff --git a/src/ChangeLog b/src/ChangeLog index dc2c8be43e2..b981fb29482 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with | ||
| 4 | Lisp version. | ||
| 5 | |||
| 3 | * w32term.c (syms_of_w32term) <x-use-underline-position-properties>: | 6 | * w32term.c (syms_of_w32term) <x-use-underline-position-properties>: |
| 4 | Sync doc with the xterm.c version. | 7 | Sync doc with the xterm.c version. |
| 5 | 8 | ||
diff --git a/src/xfaces.c b/src/xfaces.c index 21adb948c91..8ef3c81f1a3 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | /* xfaces.c -- "Face" primitives. | 1 | /* xfaces.c -- "Face" primitives. |
| 2 | Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 2 | |
| 3 | 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006, 2007, 2008, 2009, 2010 | ||
| 5 | Free Software Foundation, Inc. | ||
| 4 | 6 | ||
| 5 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 6 | 8 | ||
| @@ -6731,7 +6733,8 @@ See `set-face-stipple' for possible values for this variable. */); | |||
| 6731 | Vface_default_stipple = make_pure_c_string ("gray3"); | 6733 | Vface_default_stipple = make_pure_c_string ("gray3"); |
| 6732 | 6734 | ||
| 6733 | DEFVAR_LISP ("tty-defined-color-alist", &Vtty_defined_color_alist, | 6735 | DEFVAR_LISP ("tty-defined-color-alist", &Vtty_defined_color_alist, |
| 6734 | doc: /* An alist of defined terminal colors and their RGB values. */); | 6736 | doc: /* An alist of defined terminal colors and their RGB values. |
| 6737 | See the docstring of `tty-color-alist' for the details. */); | ||
| 6735 | Vtty_defined_color_alist = Qnil; | 6738 | Vtty_defined_color_alist = Qnil; |
| 6736 | 6739 | ||
| 6737 | DEFVAR_LISP ("scalable-fonts-allowed", &Vscalable_fonts_allowed, | 6740 | DEFVAR_LISP ("scalable-fonts-allowed", &Vscalable_fonts_allowed, |
| @@ -6808,5 +6811,3 @@ a font of 10 point, we actually use a font of 10 * RESCALE-RATIO point. */); | |||
| 6808 | #endif | 6811 | #endif |
| 6809 | } | 6812 | } |
| 6810 | 6813 | ||
| 6811 | /* arch-tag: 8a0f7598-5517-408d-9ab3-1da6fcd4c749 | ||
| 6812 | (do not change this comment) */ | ||