aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2005-06-22 17:53:21 +0000
committerKaroly Lorentey2005-06-22 17:53:21 +0000
commitf4d9bf3a9be50a17c2e2f7569b88f3606ab273d9 (patch)
treea06250d0c5fec729ab16920d2bb4f857f04cde8b /src
parentf3479ceeb65724094be33b49bae289a81f42b6ee (diff)
parent73106994f86353b8bb5018bacdace22643c5f485 (diff)
downloademacs-f4d9bf3a9be50a17c2e2f7569b88f3606ab273d9.tar.gz
emacs-f4d9bf3a9be50a17c2e2f7569b88f3606ab273d9.zip
Merged from miles@gnu.org--gnu-2005 (patch 438-440)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-438 Rename vertical-divider face to vertical-border * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-439 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-440 Change escape-glyph color on dark backgrounds back to cyan git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-353
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
-rw-r--r--src/dispextern.h3
-rw-r--r--src/dispnew.c2
-rw-r--r--src/fns.c2
-rw-r--r--src/frame.c6
-rw-r--r--src/process.c2
-rw-r--r--src/window.c2
-rw-r--r--src/xfaces.c22
8 files changed, 47 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a6532912246..659f1066efc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,27 @@
12005-06-22 Miles Bader <miles@gnu.org>
2
3 * xfaces.c (Qvertical_border): Renamed from `Qvertical_divider'.
4 (realize_basic_faces, syms_of_xfaces): Update references to it.
5 * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID'
6 to `VERTICAL_BORDER_FACE_ID'.
7 * dispnew.c (build_frame_matrix_from_leaf_window): Update references.
8
92005-06-21 Juri Linkov <juri@jurta.org>
10
11 * dispextern.h: Add extern Qframe_set_background_mode.
12
13 * xfaces.c: Rename obsolete function Qframe_update_face_colors to
14 Qframe_set_background_mode.
15
16 * frame.c (Fmodify_frame_parameters):
17 Call frame-set-background-mode after changing the background color
18 on non-window non-dos branch.
19
202005-06-21 Juanma Barranquero <lekktu@gmail.com>
21
22 * fns.c (Fchar_table_range):
23 * process.c (Fmake_network_process): Fix spellings.
24
12005-06-20 Kim F. Storm <storm@cua.dk> 252005-06-20 Kim F. Storm <storm@cua.dk>
2 26
3 * fns.c (Fsort): Doc fix. 27 * fns.c (Fsort): Doc fix.
diff --git a/src/dispextern.h b/src/dispextern.h
index 5219a6e924f..3fb4f76a61f 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1588,7 +1588,7 @@ enum face_id
1588 CURSOR_FACE_ID, 1588 CURSOR_FACE_ID,
1589 MOUSE_FACE_ID, 1589 MOUSE_FACE_ID,
1590 MENU_FACE_ID, 1590 MENU_FACE_ID,
1591 VERTICAL_DIVIDER_FACE_ID, 1591 VERTICAL_BORDER_FACE_ID,
1592 BASIC_FACE_ID_SENTINEL 1592 BASIC_FACE_ID_SENTINEL
1593}; 1593};
1594 1594
@@ -2786,6 +2786,7 @@ int merge_faces P_ ((struct frame *, Lisp_Object, int, int));
2786int compute_char_face P_ ((struct frame *, int, Lisp_Object)); 2786int compute_char_face P_ ((struct frame *, int, Lisp_Object));
2787void free_all_realized_faces P_ ((Lisp_Object)); 2787void free_all_realized_faces P_ ((Lisp_Object));
2788extern Lisp_Object Qforeground_color, Qbackground_color; 2788extern Lisp_Object Qforeground_color, Qbackground_color;
2789extern Lisp_Object Qframe_set_background_mode;
2789extern char unspecified_fg[], unspecified_bg[]; 2790extern char unspecified_fg[], unspecified_bg[];
2790void free_realized_multibyte_face P_ ((struct frame *, int)); 2791void free_realized_multibyte_face P_ ((struct frame *, int));
2791 2792
diff --git a/src/dispnew.c b/src/dispnew.c
index 307e3c5f010..c5256142588 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2716,7 +2716,7 @@ build_frame_matrix_from_leaf_window (frame_matrix, w)
2716 2716
2717 if (FAST_GLYPH_FACE (right_border_glyph) <= 0) 2717 if (FAST_GLYPH_FACE (right_border_glyph) <= 0)
2718 right_border_glyph 2718 right_border_glyph
2719 = FAST_MAKE_GLYPH (right_border_glyph, VERTICAL_DIVIDER_FACE_ID); 2719 = FAST_MAKE_GLYPH (right_border_glyph, VERTICAL_BORDER_FACE_ID);
2720 } 2720 }
2721 } 2721 }
2722 else 2722 else
diff --git a/src/fns.c b/src/fns.c
index 792f94189d1..7365aa05e79 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2546,7 +2546,7 @@ RANGE should be nil (for the default value),
2546a vector which identifies a character set or a row of a character set, 2546a vector which identifies a character set or a row of a character set,
2547a character set name, or a character code. 2547a character set name, or a character code.
2548If the characters in the specified range have different values, 2548If the characters in the specified range have different values,
2549an error is signalled. 2549an error is signaled.
2550 2550
2551Note that this function doesn't check the parent of CHAR-TABLE. */) 2551Note that this function doesn't check the parent of CHAR-TABLE. */)
2552 (char_table, range) 2552 (char_table, range)
diff --git a/src/frame.c b/src/frame.c
index 10318ba7110..62dba4d4d15 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2548,6 +2548,12 @@ enabled such bindings for that variable with `make-variable-frame-local'. */)
2548 prop = parms[i]; 2548 prop = parms[i];
2549 val = values[i]; 2549 val = values[i];
2550 store_frame_param (f, prop, val); 2550 store_frame_param (f, prop, val);
2551
2552 /* Changing the background color might change the background
2553 mode, so that we have to load new defface specs.
2554 Call frame-set-background-mode to do that. */
2555 if (EQ (prop, Qbackground_color))
2556 call1 (Qframe_set_background_mode, frame);
2551 } 2557 }
2552 } 2558 }
2553 2559
diff --git a/src/process.c b/src/process.c
index dd13138e273..46808674a0d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2552,7 +2552,7 @@ DEFUN ("make-network-process", Fmake_network_process, Smake_network_process,
2552In Emacs, network connections are represented by process objects, so 2552In Emacs, network connections are represented by process objects, so
2553input and output work as for subprocesses and `delete-process' closes 2553input and output work as for subprocesses and `delete-process' closes
2554a network connection. However, a network process has no process id, 2554a network connection. However, a network process has no process id,
2555it cannot be signalled, and the status codes are different from normal 2555it cannot be signaled, and the status codes are different from normal
2556processes. 2556processes.
2557 2557
2558Arguments are specified as keyword/argument pairs. The following 2558Arguments are specified as keyword/argument pairs. The following
diff --git a/src/window.c b/src/window.c
index 5bfff27f976..df284420ddf 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4182,7 +4182,7 @@ enlarge_window (window, delta, widthflag, preserve_before)
4182 4182
4183 The number of children n equals the number of resizable 4183 The number of children n equals the number of resizable
4184 children of this window + 1 because we know window itself 4184 children of this window + 1 because we know window itself
4185 is resizable (otherwise we would have signalled an error. */ 4185 is resizable (otherwise we would have signalled an error). */
4186 4186
4187 struct window *w = XWINDOW (window); 4187 struct window *w = XWINDOW (window);
4188 Lisp_Object s; 4188 Lisp_Object s;
diff --git a/src/xfaces.c b/src/xfaces.c
index 2494e1e1837..78dc41116e4 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -319,15 +319,15 @@ Lisp_Object Qunspecified;
319char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; 319char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg";
320 320
321/* The name of the function to call when the background of the frame 321/* The name of the function to call when the background of the frame
322 has changed, frame_update_face_colors. */ 322 has changed, frame_set_background_mode. */
323 323
324Lisp_Object Qframe_update_face_colors; 324Lisp_Object Qframe_set_background_mode;
325 325
326/* Names of basic faces. */ 326/* Names of basic faces. */
327 327
328Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; 328Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe;
329Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; 329Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu;
330Lisp_Object Qmode_line_inactive, Qvertical_divider; 330Lisp_Object Qmode_line_inactive, Qvertical_border;
331extern Lisp_Object Qmode_line; 331extern Lisp_Object Qmode_line;
332 332
333/* The symbol `face-alias'. A symbols having that property is an 333/* The symbol `face-alias'. A symbols having that property is an
@@ -4526,10 +4526,10 @@ update_face_from_frame_parameter (f, param, new_value)
4526 Lisp_Object frame; 4526 Lisp_Object frame;
4527 4527
4528 /* Changing the background color might change the background 4528 /* Changing the background color might change the background
4529 mode, so that we have to load new defface specs. Call 4529 mode, so that we have to load new defface specs.
4530 frame-update-face-colors to do that. */ 4530 Call frame-set-background-mode to do that. */
4531 XSETFRAME (frame, f); 4531 XSETFRAME (frame, f);
4532 call1 (Qframe_update_face_colors, frame); 4532 call1 (Qframe_set_background_mode, frame);
4533 4533
4534 face = Qdefault; 4534 face = Qdefault;
4535 lface = lface_from_face_name (f, face, 1); 4535 lface = lface_from_face_name (f, face, 1);
@@ -6899,7 +6899,7 @@ realize_basic_faces (f)
6899 realize_named_face (f, Qcursor, CURSOR_FACE_ID); 6899 realize_named_face (f, Qcursor, CURSOR_FACE_ID);
6900 realize_named_face (f, Qmouse, MOUSE_FACE_ID); 6900 realize_named_face (f, Qmouse, MOUSE_FACE_ID);
6901 realize_named_face (f, Qmenu, MENU_FACE_ID); 6901 realize_named_face (f, Qmenu, MENU_FACE_ID);
6902 realize_named_face (f, Qvertical_divider, VERTICAL_DIVIDER_FACE_ID); 6902 realize_named_face (f, Qvertical_border, VERTICAL_BORDER_FACE_ID);
6903 6903
6904 /* Reflect changes in the `menu' face in menu bars. */ 6904 /* Reflect changes in the `menu' face in menu bars. */
6905 if (FRAME_FACE_CACHE (f)->menu_face_changed_p) 6905 if (FRAME_FACE_CACHE (f)->menu_face_changed_p)
@@ -7910,8 +7910,8 @@ syms_of_xfaces ()
7910 staticpro (&Qface_no_inherit); 7910 staticpro (&Qface_no_inherit);
7911 Qbitmap_spec_p = intern ("bitmap-spec-p"); 7911 Qbitmap_spec_p = intern ("bitmap-spec-p");
7912 staticpro (&Qbitmap_spec_p); 7912 staticpro (&Qbitmap_spec_p);
7913 Qframe_update_face_colors = intern ("frame-update-face-colors"); 7913 Qframe_set_background_mode = intern ("frame-set-background-mode");
7914 staticpro (&Qframe_update_face_colors); 7914 staticpro (&Qframe_set_background_mode);
7915 7915
7916 /* Lisp face attribute keywords. */ 7916 /* Lisp face attribute keywords. */
7917 QCfamily = intern (":family"); 7917 QCfamily = intern (":family");
@@ -8035,8 +8035,8 @@ syms_of_xfaces ()
8035 staticpro (&Qmouse); 8035 staticpro (&Qmouse);
8036 Qmode_line_inactive = intern ("mode-line-inactive"); 8036 Qmode_line_inactive = intern ("mode-line-inactive");
8037 staticpro (&Qmode_line_inactive); 8037 staticpro (&Qmode_line_inactive);
8038 Qvertical_divider = intern ("vertical-divider"); 8038 Qvertical_border = intern ("vertical-border");
8039 staticpro (&Qvertical_divider); 8039 staticpro (&Qvertical_border);
8040 Qtty_color_desc = intern ("tty-color-desc"); 8040 Qtty_color_desc = intern ("tty-color-desc");
8041 staticpro (&Qtty_color_desc); 8041 staticpro (&Qtty_color_desc);
8042 Qtty_color_standard_values = intern ("tty-color-standard-values"); 8042 Qtty_color_standard_values = intern ("tty-color-standard-values");