Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1becef93
Commit
1becef93
authored
Sep 30, 2010
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/w32console.c (vga_stdcolor_name): Remove unused function.
parent
6b0f7311
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
22 deletions
+5
-22
src/ChangeLog
src/ChangeLog
+5
-0
src/w32console.c
src/w32console.c
+0
-22
No files found.
src/ChangeLog
View file @
1becef93
2010-09-30 Juanma Barranquero <lekktu@gmail.com>
* w32console.c (vga_stdcolor_name): Remove unused function;
presumed dead after 2007-11-30T13:57:21Z!jasonr@gnu.org.
2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnutls.c (emacs_gnutls_handshake): Made into internal function.
...
...
src/w32console.c
View file @
1becef93
...
...
@@ -585,28 +585,6 @@ w32_face_attributes (struct frame *f, int face_id)
return
char_attr
;
}
/* Given a color index, return its standard name. */
Lisp_Object
vga_stdcolor_name
(
int
idx
)
{
/* Standard VGA colors, in the order of their standard numbering
in the default VGA palette. */
static
char
*
vga_colors
[
16
]
=
{
"black"
,
"blue"
,
"green"
,
"cyan"
,
"red"
,
"magenta"
,
"brown"
,
"lightgray"
,
"darkgray"
,
"lightblue"
,
"lightgreen"
,
"lightcyan"
,
"lightred"
,
"lightmagenta"
,
"yellow"
,
"white"
};
extern
Lisp_Object
Qunspecified
;
if
(
idx
>=
0
&&
idx
<
sizeof
(
vga_colors
)
/
sizeof
(
vga_colors
[
0
]))
return
build_string
(
vga_colors
[
idx
]);
else
return
Qunspecified
;
/* meaning the default */
}
void
initialize_w32_display
(
struct
terminal
*
term
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment