aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-11-14 23:55:13 -0800
committerPaul Eggert2011-11-14 23:55:13 -0800
commitda6062e6ea440f6cd68db251390fcb91450103ba (patch)
tree8643e5ab1b5045cfb22e254412632f671658645f /src
parent672b871d9838335ac12faaf62793a811f1269a66 (diff)
downloademacs-da6062e6ea440f6cd68db251390fcb91450103ba.tar.gz
emacs-da6062e6ea440f6cd68db251390fcb91450103ba.zip
Spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.72
-rw-r--r--src/buffer.c2
-rw-r--r--src/character.c2
-rw-r--r--src/composite.h2
-rw-r--r--src/font.h2
-rw-r--r--src/fontset.c2
-rw-r--r--src/frame.h2
-rw-r--r--src/gtkutil.c2
-rw-r--r--src/indent.h4
-rw-r--r--src/nsterm.m2
-rw-r--r--src/process.c4
-rw-r--r--src/syssignal.h2
-rw-r--r--src/xdisp.c2
-rw-r--r--src/xfaces.c4
-rw-r--r--src/xselect.c2
-rw-r--r--src/xsettings.c2
-rw-r--r--src/xsmfns.c2
17 files changed, 19 insertions, 21 deletions
diff --git a/src/ChangeLog.7 b/src/ChangeLog.7
index 699b2bf817e..73d0d45e9c1 100644
--- a/src/ChangeLog.7
+++ b/src/ChangeLog.7
@@ -5943,7 +5943,7 @@
5943 Vauto_file_coding_system. 5943 Vauto_file_coding_system.
5944 (syms_of_fileio): Adjusted for the above change. Doc change. 5944 (syms_of_fileio): Adjusted for the above change. Doc change.
5945 (Finsert_file_contents): The argument for Vset_auto_coding is a 5945 (Finsert_file_contents): The argument for Vset_auto_coding is a
5946 concatination of the heading 1K-byte and the tailing 3K-byte. 5946 concatenation of the heading 1K-byte and the tailing 3K-byte.
5947 5947
5948 * cmds.c (internal_self_insert): Only set TARGET_CLM when C2 is tab. 5948 * cmds.c (internal_self_insert): Only set TARGET_CLM when C2 is tab.
5949 When multibyte characters are disabled, 5949 When multibyte characters are disabled,
diff --git a/src/buffer.c b/src/buffer.c
index fdf006a41eb..90b43d29fc8 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4431,7 +4431,7 @@ static int mmap_initialized_p;
4431 is currently mapped. Used to prevent overwriting an existing 4431 is currently mapped. Used to prevent overwriting an existing
4432 memory mapping. 4432 memory mapping.
4433 4433
4434 Default is to conservativly assume the address range is occupied by 4434 Default is to conservatively assume the address range is occupied by
4435 something else. This can be overridden by system configuration 4435 something else. This can be overridden by system configuration
4436 files if system-specific means to determine this exists. */ 4436 files if system-specific means to determine this exists. */
4437 4437
diff --git a/src/character.c b/src/character.c
index c54c0046c53..a21760c8ab2 100644
--- a/src/character.c
+++ b/src/character.c
@@ -588,7 +588,7 @@ parse_str_as_multibyte (const unsigned char *str, EMACS_INT len,
588} 588}
589 589
590/* Arrange unibyte text at STR of NBYTES bytes as a multibyte text. 590/* Arrange unibyte text at STR of NBYTES bytes as a multibyte text.
591 It actually converts only such 8-bit characters that don't contruct 591 It actually converts only such 8-bit characters that don't construct
592 a multibyte sequence to multibyte forms of Latin-1 characters. If 592 a multibyte sequence to multibyte forms of Latin-1 characters. If
593 NCHARS is nonzero, set *NCHARS to the number of characters in the 593 NCHARS is nonzero, set *NCHARS to the number of characters in the
594 text. It is assured that we can use LEN bytes at STR as a work 594 text. It is assured that we can use LEN bytes at STR as a work
diff --git a/src/composite.h b/src/composite.h
index c57e2a0e9b3..60145b10bd9 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -41,7 +41,7 @@ enum composition_method {
41 COMPOSITION_NO 41 COMPOSITION_NO
42}; 42};
43 43
44/* Maximum number of compoments a single composition can have. */ 44/* Maximum number of components a single composition can have. */
45#define MAX_COMPOSITION_COMPONENTS 16 45#define MAX_COMPOSITION_COMPONENTS 16
46 46
47/* These macros access information about a composition that 47/* These macros access information about a composition that
diff --git a/src/font.h b/src/font.h
index e50eaff9a1f..42fc050b670 100644
--- a/src/font.h
+++ b/src/font.h
@@ -599,7 +599,7 @@ struct font_driver
599 599
600 /* Optional. 600 /* Optional.
601 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is 601 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is
602 intended that this method is callled from the other font-driver 602 intended that this method is called from the other font-driver
603 for actual drawing. */ 603 for actual drawing. */
604 int (*get_bitmap) (struct font *font, unsigned code, 604 int (*get_bitmap) (struct font *font, unsigned code,
605 struct font_bitmap *bitmap, 605 struct font_bitmap *bitmap,
diff --git a/src/fontset.c b/src/fontset.c
index d802d235962..34b2131832f 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1088,7 +1088,7 @@ fontset_pattern_regexp (Lisp_Object pattern)
1088 nescs++; 1088 nescs++;
1089 } 1089 }
1090 1090
1091 /* If PATTERN is not full XLFD we conert "*" to ".*". Otherwise 1091 /* If PATTERN is not full XLFD we convert "*" to ".*". Otherwise
1092 we convert "*" to "[^-]*" which is much faster in regular 1092 we convert "*" to "[^-]*" which is much faster in regular
1093 expression matching. */ 1093 expression matching. */
1094 if (ndashes < 14) 1094 if (ndashes < 14)
diff --git a/src/frame.h b/src/frame.h
index e096807b02e..a32d1c549b5 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -371,7 +371,7 @@ struct frame
371 if greater than 1, then the frame is obscured - we still consider 371 if greater than 1, then the frame is obscured - we still consider
372 it to be "visible" as seen from lisp, but we don't bother 372 it to be "visible" as seen from lisp, but we don't bother
373 updating it. We must take care to garbage the frame when it 373 updating it. We must take care to garbage the frame when it
374 ceaces to be obscured though. 374 ceases to be obscured though.
375 375
376 iconified is nonzero if the frame is currently iconified. 376 iconified is nonzero if the frame is currently iconified.
377 377
diff --git a/src/gtkutil.c b/src/gtkutil.c
index af697c72673..04104064096 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -891,7 +891,7 @@ xg_frame_resized (FRAME_PTR f, int pixelwidth, int pixelheight)
891 } 891 }
892} 892}
893 893
894/* Resize the outer window of frame F after chainging the height. 894/* Resize the outer window of frame F after changing the height.
895 COLUMNS/ROWS is the size the edit area shall have after the resize. */ 895 COLUMNS/ROWS is the size the edit area shall have after the resize. */
896 896
897void 897void
diff --git a/src/indent.h b/src/indent.h
index 07ca4dd87a5..55ee934f574 100644
--- a/src/indent.h
+++ b/src/indent.h
@@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19/* We introduce new member `tab_offset'. We need it because of the 19/* We introduce new member `tab_offset'. We need it because of the
20 existence of wide-column characters. There is a case that the 20 existence of wide-column characters. There is a case that the
21 line-break occurs at a wide-column character and the number of 21 line-break occurs at a wide-column character and the number of
22 colums of the line gets less than width. 22 columns of the line gets less than width.
23 23
24 Example (where W_ stands for a wide-column character): 24 Example (where W_ stands for a wide-column character):
25 ---------- 25 ----------
@@ -73,5 +73,3 @@ int disptab_matches_widthtab (struct Lisp_Char_Table *disptab,
73/* Recompute BUF's width table, using the display table DISPTAB. */ 73/* Recompute BUF's width table, using the display table DISPTAB. */
74void recompute_width_table (struct buffer *buf, 74void recompute_width_table (struct buffer *buf,
75 struct Lisp_Char_Table *disptab); 75 struct Lisp_Char_Table *disptab);
76
77
diff --git a/src/nsterm.m b/src/nsterm.m
index 7d26cba6d73..c5b28d57ac5 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4503,7 +4503,7 @@ ns_term_shutdown (int sig)
4503 //ns_app_active=YES; 4503 //ns_app_active=YES;
4504 4504
4505 ns_update_auto_hide_menu_bar (); 4505 ns_update_auto_hide_menu_bar ();
4506 // No constrining takes place when the application is not active. 4506 // No constraining takes place when the application is not active.
4507 ns_constrain_all_frames (); 4507 ns_constrain_all_frames ();
4508} 4508}
4509- (void)applicationDidResignActive: (NSNotification *)notification 4509- (void)applicationDidResignActive: (NSNotification *)notification
diff --git a/src/process.c b/src/process.c
index 301274676d6..9b15e4c56c0 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5377,8 +5377,8 @@ send_process (volatile Lisp_Object proc, const char *volatile buf,
5377 sending a multibyte text, thus we must encode it by the 5377 sending a multibyte text, thus we must encode it by the
5378 original coding system specified for the current process. 5378 original coding system specified for the current process.
5379 5379
5380 Another reason we comming here is that the coding system 5380 Another reason we come here is that the coding system
5381 was just complemented and new one was returned by 5381 was just complemented and a new one was returned by
5382 complement_process_encoding_system. */ 5382 complement_process_encoding_system. */
5383 setup_coding_system (p->encode_coding_system, coding); 5383 setup_coding_system (p->encode_coding_system, coding);
5384 Vlast_coding_system_used = p->encode_coding_system; 5384 Vlast_coding_system_used = p->encode_coding_system;
diff --git a/src/syssignal.h b/src/syssignal.h
index 7533a5a64fd..315400d8498 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -39,7 +39,7 @@ extern sigset_t empty_mask;
39 39
40/* POSIX pretty much destroys any possibility of writing sigmask as a 40/* POSIX pretty much destroys any possibility of writing sigmask as a
41 macro in standard C. We always define our own version because the 41 macro in standard C. We always define our own version because the
42 predefined macro in Glibc 2.1 is only provided for compatility for old 42 predefined macro in Glibc 2.1 is only provided for compatibility for old
43 programs that use int as signal mask type. */ 43 programs that use int as signal mask type. */
44#undef sigmask 44#undef sigmask
45#ifdef __GNUC__ 45#ifdef __GNUC__
diff --git a/src/xdisp.c b/src/xdisp.c
index 15355e2d47a..6b9270b7e80 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28447,7 +28447,7 @@ To add a prefix to continuation lines, use `wrap-prefix'. */);
28447 DEFVAR_INT ("overline-margin", overline_margin, 28447 DEFVAR_INT ("overline-margin", overline_margin,
28448 doc: /* *Space between overline and text, in pixels. 28448 doc: /* *Space between overline and text, in pixels.
28449The default value is 2: the height of the overline (1 pixel) plus 1 pixel 28449The default value is 2: the height of the overline (1 pixel) plus 1 pixel
28450margin to the caracter height. */); 28450margin to the character height. */);
28451 overline_margin = 2; 28451 overline_margin = 2;
28452 28452
28453 DEFVAR_INT ("underline-minimum-offset", 28453 DEFVAR_INT ("underline-minimum-offset",
diff --git a/src/xfaces.c b/src/xfaces.c
index 0ed6fa1d8e2..849ad6bbdf4 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4189,12 +4189,12 @@ prepare_face_for_display (struct frame *f, struct face *face)
4189static int 4189static int
4190color_distance (XColor *x, XColor *y) 4190color_distance (XColor *x, XColor *y)
4191{ 4191{
4192 /* This formula is from a paper title `Colour metric' by Thiadmer Riemersma. 4192 /* This formula is from a paper titled `Colour metric' by Thiadmer Riemersma.
4193 Quoting from that paper: 4193 Quoting from that paper:
4194 4194
4195 This formula has results that are very close to L*u*v* (with the 4195 This formula has results that are very close to L*u*v* (with the
4196 modified lightness curve) and, more importantly, it is a more even 4196 modified lightness curve) and, more importantly, it is a more even
4197 algorithm: it does not have a range of colours where it suddenly 4197 algorithm: it does not have a range of colors where it suddenly
4198 gives far from optimal results. 4198 gives far from optimal results.
4199 4199
4200 See <http://www.compuphase.com/cmetric.htm> for more info. */ 4200 See <http://www.compuphase.com/cmetric.htm> for more info. */
diff --git a/src/xselect.c b/src/xselect.c
index adee1872dba..4bfab4143cc 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2355,7 +2355,7 @@ x_fill_property_data (Display *dpy, Lisp_Object data, void *ret, int format)
2355 F is the frame to be used to look up X atoms if the TYPE is XA_ATOM. 2355 F is the frame to be used to look up X atoms if the TYPE is XA_ATOM.
2356 DATA is a C array of values to be converted. 2356 DATA is a C array of values to be converted.
2357 TYPE is the type of the data. Only XA_ATOM is special, it converts 2357 TYPE is the type of the data. Only XA_ATOM is special, it converts
2358 each number in DATA to its corresponfing X atom as a symbol. 2358 each number in DATA to its corresponding X atom as a symbol.
2359 FORMAT is 8, 16 or 32 and gives the size in bits for each C value to 2359 FORMAT is 8, 16 or 32 and gives the size in bits for each C value to
2360 be stored in RET. 2360 be stored in RET.
2361 SIZE is the number of elements in DATA. 2361 SIZE is the number of elements in DATA.
diff --git a/src/xsettings.c b/src/xsettings.c
index d57f3b5be81..a8604ac5897 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -121,7 +121,7 @@ store_font_name_changed (const char *newfont)
121} 121}
122#endif /* HAVE_XFT */ 122#endif /* HAVE_XFT */
123 123
124/* Map TOOL_BAR_STYLE from a string to its correspinding Lisp value. 124/* Map TOOL_BAR_STYLE from a string to its corresponding Lisp value.
125 Return Qnil if TOOL_BAR_STYLE is not known. */ 125 Return Qnil if TOOL_BAR_STYLE is not known. */
126 126
127static Lisp_Object 127static Lisp_Object
diff --git a/src/xsmfns.c b/src/xsmfns.c
index 55daec73307..7deac7b14e4 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -462,7 +462,7 @@ x_session_initialize (struct x_display_info *dpyinfo)
462 Vx_session_id = build_string (client_id); 462 Vx_session_id = build_string (client_id);
463 463
464#ifdef USE_GTK 464#ifdef USE_GTK
465 /* GTK creats a leader window by itself, but we need to tell 465 /* GTK creates a leader window by itself, but we need to tell
466 it about our client_id. */ 466 it about our client_id. */
467 gdk_x11_set_sm_client_id (client_id); 467 gdk_x11_set_sm_client_id (client_id);
468#else 468#else