aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-11-26 20:43:11 -0800
committerPaul Eggert2011-11-26 20:43:11 -0800
commite47695319fc758da7ff07d7084386258b6c8b677 (patch)
treec1cd573850e4dd66b8df696835d52513f10dfc94 /src
parent83aca1cb6970314dcc6c35c1432ebcac42811926 (diff)
downloademacs-e47695319fc758da7ff07d7084386258b6c8b677.tar.gz
emacs-e47695319fc758da7ff07d7084386258b6c8b677.zip
Spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.102
-rw-r--r--src/ChangeLog.114
-rw-r--r--src/ChangeLog.32
-rw-r--r--src/ChangeLog.82
-rw-r--r--src/buffer.c4
-rw-r--r--src/charset.c4
-rw-r--r--src/dispextern.h2
-rw-r--r--src/gtkutil.h4
-rw-r--r--src/lisp.h4
-rw-r--r--src/lread.c2
-rw-r--r--src/nsterm.m2
-rw-r--r--src/w32fns.c3
-rw-r--r--src/widget.c2
-rw-r--r--src/widget.h3
-rw-r--r--src/window.c4
-rw-r--r--src/xdisp.c3
-rw-r--r--src/xfaces.c4
17 files changed, 26 insertions, 25 deletions
diff --git a/src/ChangeLog.10 b/src/ChangeLog.10
index 4c0590aa94b..42af99ccc58 100644
--- a/src/ChangeLog.10
+++ b/src/ChangeLog.10
@@ -23013,7 +23013,7 @@
23013 (try_window_id): Likewise. 23013 (try_window_id): Likewise.
23014 (redisplay_window): New local var buffer_unchanged_p. 23014 (redisplay_window): New local var buffer_unchanged_p.
23015 23015
23016 * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. 23016 * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_hourglass.
23017 23017
23018 * process.c (create_process): Test USG_SUBTTY_WORKS. 23018 * process.c (create_process): Test USG_SUBTTY_WORKS.
23019 (process_send_signal): Clean up handling of GID. 23019 (process_send_signal): Clean up handling of GID.
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index 7c027f1caec..7c46dea675c 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -22234,7 +22234,7 @@
22234 * lisp.h (Fdelete_terminal): Declare. 22234 * lisp.h (Fdelete_terminal): Declare.
22235 22235
22236 * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) 22236 * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID)
22237 (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of 22237 (CHECK_CHARSET_GET_ATTR): Don't use the nonexistent return value of
22238 wrong_type_argument. 22238 wrong_type_argument.
22239 22239
222402008-02-22 Kenichi Handa <handa@ni.aist.go.jp> 222402008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
@@ -31330,7 +31330,7 @@
31330 31330
313312007-05-12 Chong Yidong <cyd@stupidchicken.com> 313312007-05-12 Chong Yidong <cyd@stupidchicken.com>
31332 31332
31333 * image.c (pbm_load): Correctly check image size for greyscale pbm. 31333 * image.c (pbm_load): Correctly check image size for grayscale pbm.
31334 31334
31335 * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). 31335 * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
31336 31336
diff --git a/src/ChangeLog.3 b/src/ChangeLog.3
index 493e8e1ab04..34906e505da 100644
--- a/src/ChangeLog.3
+++ b/src/ChangeLog.3
@@ -3271,7 +3271,7 @@
3271 [not HAVE_X11] (x_set_border_pixel): Use gray_width and 3271 [not HAVE_X11] (x_set_border_pixel): Use gray_width and
3272 gray_height, instead of assuming that the bitmap is 16x16. 3272 gray_height, instead of assuming that the bitmap is 16x16.
3273 (x_make_gc): Instead of creating a pixmap and then calling 3273 (x_make_gc): Instead of creating a pixmap and then calling
3274 XPutImage to make it into a grey stipple, just call 3274 XPutImage to make it into a gray stipple, just call
3275 XCreatePixmapFromBitmapData to do it all at once. 3275 XCreatePixmapFromBitmapData to do it all at once.
3276 3276
3277 * xterm.c (x_text_icon): Move the request for font information 3277 * xterm.c (x_text_icon): Move the request for font information
diff --git a/src/ChangeLog.8 b/src/ChangeLog.8
index 4c9ecfb4d4d..2f3ee45a1ac 100644
--- a/src/ChangeLog.8
+++ b/src/ChangeLog.8
@@ -5409,7 +5409,7 @@
5409 5409
54101998-11-10 Gerd Moellmann <gerd@gnu.org> 54101998-11-10 Gerd Moellmann <gerd@gnu.org>
5411 5411
5412 * xrdb.c (x_load_resources): Add grey background colors as 5412 * xrdb.c (x_load_resources): Add gray background colors as
5413 defaults for menus, scroll bars, and dialogs. 5413 defaults for menus, scroll bars, and dialogs.
5414 5414
5415 * insdel.c (prepare_to_modify_buffer): Move setting 5415 * insdel.c (prepare_to_modify_buffer): Move setting
diff --git a/src/buffer.c b/src/buffer.c
index f8482c351c5..a482493fac7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1631,7 +1631,7 @@ with SIGHUP. */)
1631 1631
1632 /* Reset the local variables, so that this buffer's local values 1632 /* Reset the local variables, so that this buffer's local values
1633 won't be protected from GC. They would be protected 1633 won't be protected from GC. They would be protected
1634 if they happened to remain encached in their symbols. 1634 if they happened to remain cached in their symbols.
1635 This gets rid of them for certain. */ 1635 This gets rid of them for certain. */
1636 swap_out_buffer_local_variables (b); 1636 swap_out_buffer_local_variables (b);
1637 reset_buffer_local_variables (b, 1); 1637 reset_buffer_local_variables (b, 1);
@@ -2486,7 +2486,7 @@ swap_out_buffer_local_variables (struct buffer *b)
2486 Lisp_Object sym = XCAR (XCAR (alist)); 2486 Lisp_Object sym = XCAR (XCAR (alist));
2487 eassert (XSYMBOL (sym)->redirect == SYMBOL_LOCALIZED); 2487 eassert (XSYMBOL (sym)->redirect == SYMBOL_LOCALIZED);
2488 /* Need not do anything if some other buffer's binding is 2488 /* Need not do anything if some other buffer's binding is
2489 now encached. */ 2489 now cached. */
2490 if (EQ (SYMBOL_BLV (XSYMBOL (sym))->where, buffer)) 2490 if (EQ (SYMBOL_BLV (XSYMBOL (sym))->where, buffer))
2491 { 2491 {
2492 /* Symbol is set up for this buffer's old local value: 2492 /* Symbol is set up for this buffer's old local value:
diff --git a/src/charset.c b/src/charset.c
index b6921a762b6..3c15f1bee54 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -166,9 +166,9 @@ static struct
166 maximum character of the current charset. */ 166 maximum character of the current charset. */
167 int min_char, max_char; 167 int min_char, max_char;
168 168
169 /* A Unicode character correspoinding to the code indice 0 (i.e. the 169 /* A Unicode character corresponding to the code index 0 (i.e. the
170 minimum code-point) of the current charset, or -1 if the code 170 minimum code-point) of the current charset, or -1 if the code
171 indice 0 is not a Unicode character. This is checked when 171 index 0 is not a Unicode character. This is checked when
172 table.encoder[CHAR] is zero. */ 172 table.encoder[CHAR] is zero. */
173 int zero_index_char; 173 int zero_index_char;
174 174
diff --git a/src/dispextern.h b/src/dispextern.h
index 3225c1eb46e..5228a71ba3f 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -405,7 +405,7 @@ struct glyph
405 { 405 {
406 /* Metrics of a partial glyph of an image (type == IMAGE_GLYPH). */ 406 /* Metrics of a partial glyph of an image (type == IMAGE_GLYPH). */
407 struct glyph_slice img; 407 struct glyph_slice img;
408 /* Start and end indices of glyphs of a graphme cluster of a 408 /* Start and end indices of glyphs of a grapheme cluster of a
409 composition (type == COMPOSITE_GLYPH). */ 409 composition (type == COMPOSITE_GLYPH). */
410 struct { int from, to; } cmp; 410 struct { int from, to; } cmp;
411 /* Pixel offsets for upper and lower part of the acronym. */ 411 /* Pixel offsets for upper and lower part of the acronym. */
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 2dfb3a5ed6c..7cc2d21f9c4 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -98,7 +98,7 @@ extern GtkWidget *xg_create_widget (const char *type,
98 struct _widget_value *val, 98 struct _widget_value *val,
99 GCallback select_cb, 99 GCallback select_cb,
100 GCallback deactivate_cb, 100 GCallback deactivate_cb,
101 GCallback hightlight_cb); 101 GCallback highlight_cb);
102 102
103extern void xg_modify_menubar_widgets (GtkWidget *menubar, 103extern void xg_modify_menubar_widgets (GtkWidget *menubar,
104 FRAME_PTR f, 104 FRAME_PTR f,
@@ -106,7 +106,7 @@ extern void xg_modify_menubar_widgets (GtkWidget *menubar,
106 int deep_p, 106 int deep_p,
107 GCallback select_cb, 107 GCallback select_cb,
108 GCallback deactivate_cb, 108 GCallback deactivate_cb,
109 GCallback hightlight_cb); 109 GCallback highlight_cb);
110 110
111extern int xg_update_frame_menubar (FRAME_PTR f); 111extern int xg_update_frame_menubar (FRAME_PTR f);
112 112
diff --git a/src/lisp.h b/src/lisp.h
index dcd1167e0a2..fa41239a1c8 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -324,7 +324,7 @@ union Lisp_Object
324 324
325 struct 325 struct
326 { 326 {
327 /* Use explict signed, the signedness of a bit-field of type 327 /* Use explicit signed, the signedness of a bit-field of type
328 int is implementation defined. */ 328 int is implementation defined. */
329 signed EMACS_INT val : VALBITS; 329 signed EMACS_INT val : VALBITS;
330 ENUM_BF (Lisp_Type) type : GCTYPEBITS; 330 ENUM_BF (Lisp_Type) type : GCTYPEBITS;
@@ -349,7 +349,7 @@ union Lisp_Object
349 struct 349 struct
350 { 350 {
351 ENUM_BF (Lisp_Type) type : GCTYPEBITS; 351 ENUM_BF (Lisp_Type) type : GCTYPEBITS;
352 /* Use explict signed, the signedness of a bit-field of type 352 /* Use explicit signed, the signedness of a bit-field of type
353 int is implementation defined. */ 353 int is implementation defined. */
354 signed EMACS_INT val : VALBITS; 354 signed EMACS_INT val : VALBITS;
355 } s; 355 } s;
diff --git a/src/lread.c b/src/lread.c
index f1f6f0cbd78..cdbd09d2f89 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1917,7 +1917,7 @@ which is the input stream for reading characters.
1917This function does not move point. */) 1917This function does not move point. */)
1918 (Lisp_Object start, Lisp_Object end, Lisp_Object printflag, Lisp_Object read_function) 1918 (Lisp_Object start, Lisp_Object end, Lisp_Object printflag, Lisp_Object read_function)
1919{ 1919{
1920 /* FIXME: Do the eval-sexp-add-defvars danse! */ 1920 /* FIXME: Do the eval-sexp-add-defvars dance! */
1921 int count = SPECPDL_INDEX (); 1921 int count = SPECPDL_INDEX ();
1922 Lisp_Object tem, cbuf; 1922 Lisp_Object tem, cbuf;
1923 1923
diff --git a/src/nsterm.m b/src/nsterm.m
index b02561442e5..5e19a397c34 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -559,7 +559,7 @@ ns_constrain_all_frames (void)
559 { 559 {
560 NSView *view = FRAME_NS_VIEW (f); 560 NSView *view = FRAME_NS_VIEW (f);
561 /* This no-op will trigger the default window placing 561 /* This no-op will trigger the default window placing
562 * constriant system. */ 562 * constraint system. */
563 f->output_data.ns->dont_constrain = 0; 563 f->output_data.ns->dont_constrain = 0;
564 [[view window] setFrameOrigin:[[view window] frame].origin]; 564 [[view window] setFrameOrigin:[[view window] frame].origin];
565 } 565 }
diff --git a/src/w32fns.c b/src/w32fns.c
index 96b3f69b728..7a17c108d4d 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -5011,7 +5011,8 @@ no value of TYPE (always string in the MS Windows case). */)
5011 cursor. Duplicated from xdisp.c, but cannot use the version there 5011 cursor. Duplicated from xdisp.c, but cannot use the version there
5012 due to lack of atimers on w32. */ 5012 due to lack of atimers on w32. */
5013#define DEFAULT_HOURGLASS_DELAY 1 5013#define DEFAULT_HOURGLASS_DELAY 1
5014/* Return non-zero if houglass timer has been started or hourglass is shown. */ 5014/* Return non-zero if hourglass timer has been started or hourglass is
5015 shown. */
5015/* PENDING: if W32 can use atimers (atimer.[hc]) then the common impl in 5016/* PENDING: if W32 can use atimers (atimer.[hc]) then the common impl in
5016 xdisp.c could be used. */ 5017 xdisp.c could be used. */
5017 5018
diff --git a/src/widget.c b/src/widget.c
index 0582718948d..181811b8369 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -808,7 +808,7 @@ EmacsFrameQueryGeometry (Widget widget, XtWidgetGeometry *request, XtWidgetGeome
808 return result->request_mode ? XtGeometryAlmost : XtGeometryYes; 808 return result->request_mode ? XtGeometryAlmost : XtGeometryYes;
809} 809}
810 810
811/* Special entrypoints */ 811/* Special entry points */
812void 812void
813EmacsFrameSetCharSize (Widget widget, int columns, int rows) 813EmacsFrameSetCharSize (Widget widget, int columns, int rows)
814{ 814{
diff --git a/src/widget.h b/src/widget.h
index f64f188e158..b5b4147b167 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -92,9 +92,8 @@ extern WidgetClass emacsFrameClass;
92 92
93extern struct _DisplayContext* display_context; 93extern struct _DisplayContext* display_context;
94 94
95/* Special entrypoints */ 95/* Special entry points */
96void EmacsFrameSetCharSize (Widget, int, int); 96void EmacsFrameSetCharSize (Widget, int, int);
97void widget_store_internal_border (Widget widget); 97void widget_store_internal_border (Widget widget);
98 98
99#endif /* _EmacsFrame_h */ 99#endif /* _EmacsFrame_h */
100
diff --git a/src/window.c b/src/window.c
index bb2478d78fd..af4fad054a2 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3088,7 +3088,7 @@ This function runs `window-scroll-functions' before running
3088 error ("Window is dedicated to `%s'", SDATA (BVAR (XBUFFER (tem), name))); 3088 error ("Window is dedicated to `%s'", SDATA (BVAR (XBUFFER (tem), name)));
3089 else 3089 else
3090 /* WINDOW is weakly dedicated to its buffer, reset 3090 /* WINDOW is weakly dedicated to its buffer, reset
3091 dedicatedness. */ 3091 dedication. */
3092 w->dedicated = Qnil; 3092 w->dedicated = Qnil;
3093 3093
3094 call1 (Qrecord_window_buffer, window); 3094 call1 (Qrecord_window_buffer, window);
@@ -6299,7 +6299,7 @@ freeze_window_starts (struct frame *f, int freeze_p)
6299 ignore_positions non-zero means ignore non-matching scroll positions 6299 ignore_positions non-zero means ignore non-matching scroll positions
6300 and the like. 6300 and the like.
6301 6301
6302 This ignores a couple of things like the dedicatedness status of 6302 This ignores a couple of things like the dedication status of
6303 window, combination_limit and the like. This might have to be 6303 window, combination_limit and the like. This might have to be
6304 fixed. */ 6304 fixed. */
6305 6305
diff --git a/src/xdisp.c b/src/xdisp.c
index 921155940b5..c9b9b5c5e88 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28662,7 +28662,8 @@ init_xdisp (void)
28662 28662
28663/* Platform-independent portion of hourglass implementation. */ 28663/* Platform-independent portion of hourglass implementation. */
28664 28664
28665/* Return non-zero if houglass timer has been started or hourglass is shown. */ 28665/* Return non-zero if hourglass timer has been started or hourglass is
28666 shown. */
28666int 28667int
28667hourglass_started (void) 28668hourglass_started (void)
28668{ 28669{
diff --git a/src/xfaces.c b/src/xfaces.c
index 849ad6bbdf4..7e3ce4103d9 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -66,7 +66,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
66 attributes (1st thru 5th) are updated from the spec. 66 attributes (1st thru 5th) are updated from the spec.
67 67
68 On the other hand, if one of the other font-related attributes are 68 On the other hand, if one of the other font-related attributes are
69 specified, the correspoinding specs in this attribute is set to nil. 69 specified, the corresponding specs in this attribute is set to nil.
70 70
71 15. A face name or list of face names from which to inherit attributes. 71 15. A face name or list of face names from which to inherit attributes.
72 72
@@ -1223,7 +1223,7 @@ face_color_gray_p (struct frame *f, const char *color_name)
1223 int gray_p; 1223 int gray_p;
1224 1224
1225 if (defined_color (f, color_name, &color, 0)) 1225 if (defined_color (f, color_name, &color, 0))
1226 gray_p = (/* Any color sufficiently close to black counts as grey. */ 1226 gray_p = (/* Any color sufficiently close to black counts as gray. */
1227 (color.red < 5000 && color.green < 5000 && color.blue < 5000) 1227 (color.red < 5000 && color.green < 5000 && color.blue < 5000)
1228 || 1228 ||
1229 ((eabs (color.red - color.green) 1229 ((eabs (color.red - color.green)