aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2010-06-03 17:34:35 +0200
committerJuanma Barranquero2010-06-03 17:34:35 +0200
commit78edd3b72d7d7e006db5aac8c5f0514777d6e01c (patch)
tree87fec1b236edac98f38a9218fcac11b0c0c1d725 /src
parent3845c322ce0ee880e65c4cf1ebfec87e5cae129d (diff)
downloademacs-78edd3b72d7d7e006db5aac8c5f0514777d6e01c.tar.gz
emacs-78edd3b72d7d7e006db5aac8c5f0514777d6e01c.zip
Fix typos.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/ccl.c10
-rw-r--r--src/character.h6
-rw-r--r--src/fns.c5
-rw-r--r--src/fringe.c2
-rw-r--r--src/lisp.h99
-rw-r--r--src/regex.c6
-rw-r--r--src/search.c8
8 files changed, 72 insertions, 68 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4e0b04def0c..5ce7e4a11b2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-06-03 Juanma Barranquero <lekktu@gmail.com>
2
3 * ccl.c (Fccl_program_p): Fix typo in docstring.
4
12010-05-31 Stefan Monnier <monnier@iro.umontreal.ca> 52010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread 7 * keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread
diff --git a/src/ccl.c b/src/ccl.c
index c5523c2d44f..c33df9e56de 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1362,7 +1362,7 @@ ccl_driver (ccl, source, destination, src_size, dst_size, charset_list)
1362 if (point >= size) continue; 1362 if (point >= size) continue;
1363 map = AREF (Vcode_conversion_map_vector, point); 1363 map = AREF (Vcode_conversion_map_vector, point);
1364 1364
1365 /* Check map varidity. */ 1365 /* Check map validity. */
1366 if (!CONSP (map)) continue; 1366 if (!CONSP (map)) continue;
1367 map = XCDR (map); 1367 map = XCDR (map);
1368 if (!VECTORP (map)) continue; 1368 if (!VECTORP (map)) continue;
@@ -1373,7 +1373,7 @@ ccl_driver (ccl, source, destination, src_size, dst_size, charset_list)
1373 1373
1374 /* check map type, 1374 /* check map type,
1375 [STARTPOINT VAL1 VAL2 ...] or 1375 [STARTPOINT VAL1 VAL2 ...] or
1376 [t ELELMENT STARTPOINT ENDPOINT] */ 1376 [t ELEMENT STARTPOINT ENDPOINT] */
1377 if (NUMBERP (content)) 1377 if (NUMBERP (content))
1378 { 1378 {
1379 point = XUINT (content); 1379 point = XUINT (content);
@@ -1535,7 +1535,7 @@ ccl_driver (ccl, source, destination, src_size, dst_size, charset_list)
1535 if (point >= map_vector_size) continue; 1535 if (point >= map_vector_size) continue;
1536 map = AREF (Vcode_conversion_map_vector, point); 1536 map = AREF (Vcode_conversion_map_vector, point);
1537 1537
1538 /* Check map varidity. */ 1538 /* Check map validity. */
1539 if (!CONSP (map)) continue; 1539 if (!CONSP (map)) continue;
1540 map = XCDR (map); 1540 map = XCDR (map);
1541 if (!VECTORP (map)) continue; 1541 if (!VECTORP (map)) continue;
@@ -1977,7 +1977,7 @@ check_ccl_update (ccl)
1977 1977
1978DEFUN ("ccl-program-p", Fccl_program_p, Sccl_program_p, 1, 1, 0, 1978DEFUN ("ccl-program-p", Fccl_program_p, Sccl_program_p, 1, 1, 0,
1979 doc: /* Return t if OBJECT is a CCL program name or a compiled CCL program code. 1979 doc: /* Return t if OBJECT is a CCL program name or a compiled CCL program code.
1980See the documentation of `define-ccl-program' for the detail of CCL program. */) 1980See the documentation of `define-ccl-program' for the detail of CCL program. */)
1981 (object) 1981 (object)
1982 Lisp_Object object; 1982 Lisp_Object object;
1983{ 1983{
@@ -2229,7 +2229,7 @@ Return index number of the registered CCL program. */)
2229 2229
2230 slot = AREF (Vccl_program_table, idx); 2230 slot = AREF (Vccl_program_table, idx);
2231 if (!VECTORP (slot)) 2231 if (!VECTORP (slot))
2232 /* This is the first unsed slot. Register NAME here. */ 2232 /* This is the first unused slot. Register NAME here. */
2233 break; 2233 break;
2234 2234
2235 if (EQ (name, AREF (slot, 0))) 2235 if (EQ (name, AREF (slot, 0)))
diff --git a/src/character.h b/src/character.h
index 1f1f6eade84..dee846dbb9a 100644
--- a/src/character.h
+++ b/src/character.h
@@ -285,7 +285,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
285 285
286/* If P is before LIMIT, advance P to the next character boundary. 286/* If P is before LIMIT, advance P to the next character boundary.
287 Assumes that P is already at a character boundary of the same 287 Assumes that P is already at a character boundary of the same
288 mulitbyte form whose end address is LIMIT. */ 288 multibyte form whose end address is LIMIT. */
289 289
290#define NEXT_CHAR_BOUNDARY(p, limit) \ 290#define NEXT_CHAR_BOUNDARY(p, limit) \
291 do { \ 291 do { \
@@ -296,7 +296,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
296 296
297/* If P is after LIMIT, advance P to the previous character boundary. 297/* If P is after LIMIT, advance P to the previous character boundary.
298 Assumes that P is already at a character boundary of the same 298 Assumes that P is already at a character boundary of the same
299 mulitbyte form whose beginning address is LIMIT. */ 299 multibyte form whose beginning address is LIMIT. */
300 300
301#define PREV_CHAR_BOUNDARY(p, limit) \ 301#define PREV_CHAR_BOUNDARY(p, limit) \
302 do { \ 302 do { \
@@ -608,7 +608,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
608 : 0) 608 : 0)
609 609
610/* If C is a high surrogate, return 1. If C is a low surrogate, 610/* If C is a high surrogate, return 1. If C is a low surrogate,
611 return 0. Otherwise, return 0. */ 611 return 0. Otherwise, return 0. */
612 612
613#define CHAR_SURROGATE_PAIR_P(c) \ 613#define CHAR_SURROGATE_PAIR_P(c) \
614 ((c) < 0xD800 ? 0 \ 614 ((c) < 0xD800 ? 0 \
diff --git a/src/fns.c b/src/fns.c
index 0100ff228f2..7e6001e947c 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1,7 +1,8 @@
1/* Random utility Lisp functions. 1/* Random utility Lisp functions.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 4 2005, 2006, 2007, 2008, 2009, 2010
5 Free Software Foundation, Inc.
5 6
6This file is part of GNU Emacs. 7This file is part of GNU Emacs.
7 8
@@ -522,7 +523,7 @@ concat (nargs, args, target_type, last_special)
522 So, we record strings that have text properties to be copied 523 So, we record strings that have text properties to be copied
523 here, and copy the text properties after the concatination. */ 524 here, and copy the text properties after the concatination. */
524 struct textprop_rec *textprops = NULL; 525 struct textprop_rec *textprops = NULL;
525 /* Number of elments in textprops. */ 526 /* Number of elements in textprops. */
526 int num_textprops = 0; 527 int num_textprops = 0;
527 USE_SAFE_ALLOCA; 528 USE_SAFE_ALLOCA;
528 529
diff --git a/src/fringe.c b/src/fringe.c
index 952e95a5517..ded19933e5e 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -730,7 +730,7 @@ get_logical_fringe_bitmap (w, bitmap, right_p, partial_p)
730 Elements are: 730 Elements are:
731 BITMAP -- use for all 731 BITMAP -- use for all
732 (L R) -- use for left right (whether partial or not) 732 (L R) -- use for left right (whether partial or not)
733 (L R PL PR) -- use for left rigth partial-left partial-right 733 (L R PL PR) -- use for left right partial-left partial-right
734 If any value in local binding is not present or t, use global value. 734 If any value in local binding is not present or t, use global value.
735 735
736 If partial, lookup partial bitmap in default value if not found here. 736 If partial, lookup partial bitmap in default value if not found here.
diff --git a/src/lisp.h b/src/lisp.h
index 6cbf35c7880..5f0b3a700f7 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -930,7 +930,7 @@ struct Lisp_Sub_Char_Table
930 struct Lisp_Vector *next; 930 struct Lisp_Vector *next;
931 931
932 /* Depth of this sub char-table. It should be 1, 2, or 3. A sub 932 /* Depth of this sub char-table. It should be 1, 2, or 3. A sub
933 char-table of depth 1 contains 16 elments, and each element 933 char-table of depth 1 contains 16 elements, and each element
934 covers 4096 (128*32) characters. A sub char-table of depth 2 934 covers 4096 (128*32) characters. A sub char-table of depth 2
935 contains 32 elements, and each element covers 128 characters. A 935 contains 32 elements, and each element covers 128 characters. A
936 sub char-table of depth 3 contains 128 elements, and each element 936 sub char-table of depth 3 contains 128 elements, and each element
@@ -1120,7 +1120,7 @@ struct Lisp_Hash_Table
1120 Lisp_Object user_cmp_function; 1120 Lisp_Object user_cmp_function;
1121 1121
1122 /* Only the fields above are traced normally by the GC. The ones below 1122 /* Only the fields above are traced normally by the GC. The ones below
1123 `count'. are special and are either ignored by the GC or traced in 1123 `count' are special and are either ignored by the GC or traced in
1124 a special way (e.g. because of weakness). */ 1124 a special way (e.g. because of weakness). */
1125 1125
1126 /* Number of key/value entries in the table. */ 1126 /* Number of key/value entries in the table. */
@@ -1310,9 +1310,9 @@ struct Lisp_Buffer_Objfwd
1310 binding into `realvalue' (or through it). Also update 1310 binding into `realvalue' (or through it). Also update
1311 LOADED-BINDING to point to the newly loaded binding. 1311 LOADED-BINDING to point to the newly loaded binding.
1312 1312
1313 `local_if_set' indicates that merely setting the variable creates a local 1313 `local_if_set' indicates that merely setting the variable creates a
1314 binding for the current buffer. Otherwise the latter, setting the 1314 local binding for the current buffer. Otherwise the latter, setting
1315 variable does not do that; only make-local-variable does that. */ 1315 the variable does not do that; only make-local-variable does that. */
1316 1316
1317struct Lisp_Buffer_Local_Value 1317struct Lisp_Buffer_Local_Value
1318 { 1318 {
@@ -1631,7 +1631,7 @@ typedef struct {
1631#define CHECK_VECTOR_OR_STRING(x) \ 1631#define CHECK_VECTOR_OR_STRING(x) \
1632 CHECK_TYPE (VECTORP (x) || STRINGP (x), Qarrayp, x) 1632 CHECK_TYPE (VECTORP (x) || STRINGP (x), Qarrayp, x)
1633 1633
1634#define CHECK_ARRAY(x, Qxxxp) \ 1634#define CHECK_ARRAY(x, Qxxxp) \
1635 CHECK_TYPE (ARRAYP (x), Qxxxp, x) 1635 CHECK_TYPE (ARRAYP (x), Qxxxp, x)
1636 1636
1637#define CHECK_VECTOR_OR_CHAR_TABLE(x) \ 1637#define CHECK_VECTOR_OR_CHAR_TABLE(x) \
@@ -1677,14 +1677,14 @@ typedef struct {
1677 1677
1678#define XFLOATINT(n) extract_float((n)) 1678#define XFLOATINT(n) extract_float((n))
1679 1679
1680#define CHECK_FLOAT(x) \ 1680#define CHECK_FLOAT(x) \
1681 CHECK_TYPE (FLOATP (x), Qfloatp, x) 1681 CHECK_TYPE (FLOATP (x), Qfloatp, x)
1682 1682
1683#define CHECK_NUMBER_OR_FLOAT(x) \ 1683#define CHECK_NUMBER_OR_FLOAT(x) \
1684 CHECK_TYPE (FLOATP (x) || INTEGERP (x), Qnumberp, x) 1684 CHECK_TYPE (FLOATP (x) || INTEGERP (x), Qnumberp, x)
1685 1685
1686#define CHECK_NUMBER_OR_FLOAT_COERCE_MARKER(x) \ 1686#define CHECK_NUMBER_OR_FLOAT_COERCE_MARKER(x) \
1687 do { if (MARKERP (x)) XSETFASTINT (x, marker_position (x)); \ 1687 do { if (MARKERP (x)) XSETFASTINT (x, marker_position (x)); \
1688 else CHECK_TYPE (INTEGERP (x) || FLOATP (x), Qnumber_or_marker_p, x); } while (0) 1688 else CHECK_TYPE (INTEGERP (x) || FLOATP (x), Qnumber_or_marker_p, x); } while (0)
1689 1689
1690#define CHECK_OVERLAY(x) \ 1690#define CHECK_OVERLAY(x) \
@@ -1774,8 +1774,8 @@ typedef struct {
1774 Lisp_Object, Lisp_Object, Lisp_Object) 1774 Lisp_Object, Lisp_Object, Lisp_Object)
1775#define DEFUN_ARGS_8 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, \ 1775#define DEFUN_ARGS_8 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, \
1776 Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) 1776 Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
1777/* Non-zero if OBJ is a Lisp function. */
1778 1777
1778/* Non-zero if OBJ is a Lisp function. */
1779#define FUNCTIONP(OBJ) \ 1779#define FUNCTIONP(OBJ) \
1780 ((CONSP (OBJ) && EQ (XCAR (OBJ), Qlambda)) \ 1780 ((CONSP (OBJ) && EQ (XCAR (OBJ), Qlambda)) \
1781 || (SYMBOLP (OBJ) && !NILP (Ffboundp (OBJ))) \ 1781 || (SYMBOLP (OBJ) && !NILP (Ffboundp (OBJ))) \
@@ -1824,12 +1824,11 @@ extern void defvar_kboard (const char *, int);
1824 1824
1825 If the symbol field is a symbol, it is an ordinary variable binding. 1825 If the symbol field is a symbol, it is an ordinary variable binding.
1826 1826
1827 Otherwise, it should be a structure (SYMBOL WHERE 1827 Otherwise, it should be a structure (SYMBOL WHERE . CURRENT-BUFFER),
1828 . CURRENT-BUFFER), which means having bound a local value while 1828 which means having bound a local value while CURRENT-BUFFER was active.
1829 CURRENT-BUFFER was active. If WHERE is nil this means we saw the 1829 If WHERE is nil this means we saw the default value when binding SYMBOL.
1830 default value when binding SYMBOL. WHERE being a buffer or frame 1830 WHERE being a buffer or frame means we saw a buffer-local or frame-local
1831 means we saw a buffer-local or frame-local value. Other values of 1831 value. Other values of WHERE mean an internal error. */
1832 WHERE mean an internal error. */
1833 1832
1834typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object)); 1833typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object));
1835 1834
@@ -2019,16 +2018,16 @@ extern EMACS_INT memory_full_cons_threshold;
2019 2018
2020/* Structure for recording stack slots that need marking. */ 2019/* Structure for recording stack slots that need marking. */
2021 2020
2022/* This is a chain of structures, each of which points at a Lisp_Object variable 2021/* This is a chain of structures, each of which points at a Lisp_Object
2023 whose value should be marked in garbage collection. 2022 variable whose value should be marked in garbage collection.
2024 Normally every link of the chain is an automatic variable of a function, 2023 Normally every link of the chain is an automatic variable of a function,
2025 and its `val' points to some argument or local variable of the function. 2024 and its `val' points to some argument or local variable of the function.
2026 On exit to the function, the chain is set back to the value it had on entry. 2025 On exit to the function, the chain is set back to the value it had on entry.
2027 This way, no link remains in the chain when the stack frame containing the 2026 This way, no link remains in the chain when the stack frame containing the
2028 link disappears. 2027 link disappears.
2029 2028
2030 Every function that can call Feval must protect in this fashion all 2029 Every function that can call Feval must protect in this fashion all
2031 Lisp_Object variables whose contents will be used again. */ 2030 Lisp_Object variables whose contents will be used again. */
2032 2031
2033extern struct gcpro *gcprolist; 2032extern struct gcpro *gcprolist;
2034 2033
@@ -2932,7 +2931,7 @@ EXFUN (Ffield_end, 3);
2932EXFUN (Ffield_string_no_properties, 1); 2931EXFUN (Ffield_string_no_properties, 1);
2933extern void set_time_zone_rule P_ ((char *)); 2932extern void set_time_zone_rule P_ ((char *));
2934 2933
2935/* defined in buffer.c */ 2934/* Defined in buffer.c */
2936extern int mouse_face_overlay_overlaps P_ ((Lisp_Object)); 2935extern int mouse_face_overlay_overlaps P_ ((Lisp_Object));
2937extern void nsberror P_ ((Lisp_Object)) NO_RETURN; 2936extern void nsberror P_ ((Lisp_Object)) NO_RETURN;
2938EXFUN (Fset_buffer_multibyte, 1); 2937EXFUN (Fset_buffer_multibyte, 1);
@@ -2975,7 +2974,7 @@ extern void init_buffer P_ ((void));
2975extern void syms_of_buffer P_ ((void)); 2974extern void syms_of_buffer P_ ((void));
2976extern void keys_of_buffer P_ ((void)); 2975extern void keys_of_buffer P_ ((void));
2977 2976
2978/* defined in marker.c */ 2977/* Defined in marker.c */
2979 2978
2980EXFUN (Fmarker_position, 1); 2979EXFUN (Fmarker_position, 1);
2981EXFUN (Fmarker_buffer, 1); 2980EXFUN (Fmarker_buffer, 1);
@@ -3030,7 +3029,7 @@ extern Lisp_Object Qdelete_file;
3030 3029
3031extern void syms_of_abbrev P_ ((void)); 3030extern void syms_of_abbrev P_ ((void));
3032 3031
3033/* defined in search.c */ 3032/* Defined in search.c */
3034extern void shrink_regexp_cache P_ ((void)); 3033extern void shrink_regexp_cache P_ ((void));
3035EXFUN (Fstring_match, 3); 3034EXFUN (Fstring_match, 3);
3036extern void restore_search_regs P_ ((void)); 3035extern void restore_search_regs P_ ((void));
@@ -3054,7 +3053,7 @@ extern int find_before_next_newline P_ ((EMACS_INT, EMACS_INT, int));
3054extern void syms_of_search P_ ((void)); 3053extern void syms_of_search P_ ((void));
3055extern void clear_regexp_cache P_ ((void)); 3054extern void clear_regexp_cache P_ ((void));
3056 3055
3057/* defined in minibuf.c */ 3056/* Defined in minibuf.c */
3058 3057
3059extern Lisp_Object last_minibuf_string; 3058extern Lisp_Object last_minibuf_string;
3060extern void choose_minibuf_frame P_ ((void)); 3059extern void choose_minibuf_frame P_ ((void));
@@ -3081,7 +3080,7 @@ EXFUN (Fcall_interactively, 3);
3081EXFUN (Fprefix_numeric_value, 1); 3080EXFUN (Fprefix_numeric_value, 1);
3082extern void syms_of_callint P_ ((void)); 3081extern void syms_of_callint P_ ((void));
3083 3082
3084/* defined in casefiddle.c */ 3083/* Defined in casefiddle.c */
3085 3084
3086EXFUN (Fdowncase, 1); 3085EXFUN (Fdowncase, 1);
3087EXFUN (Fupcase, 1); 3086EXFUN (Fupcase, 1);
@@ -3092,14 +3091,14 @@ EXFUN (Fupcase_initials_region, 2);
3092extern void syms_of_casefiddle P_ ((void)); 3091extern void syms_of_casefiddle P_ ((void));
3093extern void keys_of_casefiddle P_ ((void)); 3092extern void keys_of_casefiddle P_ ((void));
3094 3093
3095/* defined in casetab.c */ 3094/* Defined in casetab.c */
3096 3095
3097EXFUN (Fset_case_table, 1); 3096EXFUN (Fset_case_table, 1);
3098EXFUN (Fset_standard_case_table, 1); 3097EXFUN (Fset_standard_case_table, 1);
3099extern void init_casetab_once P_ ((void)); 3098extern void init_casetab_once P_ ((void));
3100extern void syms_of_casetab P_ ((void)); 3099extern void syms_of_casetab P_ ((void));
3101 3100
3102/* defined in keyboard.c */ 3101/* Defined in keyboard.c */
3103 3102
3104extern int echoing; 3103extern int echoing;
3105extern Lisp_Object echo_message_buffer; 3104extern Lisp_Object echo_message_buffer;
@@ -3140,7 +3139,7 @@ extern void keys_of_keyboard P_ ((void));
3140extern char *push_key_description P_ ((unsigned int, char *, int)); 3139extern char *push_key_description P_ ((unsigned int, char *, int));
3141 3140
3142 3141
3143/* defined in indent.c */ 3142/* Defined in indent.c */
3144EXFUN (Fvertical_motion, 2); 3143EXFUN (Fvertical_motion, 2);
3145EXFUN (Findent_to, 2); 3144EXFUN (Findent_to, 2);
3146EXFUN (Fcurrent_column, 0); 3145EXFUN (Fcurrent_column, 0);
@@ -3150,7 +3149,7 @@ extern void invalidate_current_column P_ ((void));
3150extern int indented_beyond_p P_ ((int, int, double)); 3149extern int indented_beyond_p P_ ((int, int, double));
3151extern void syms_of_indent P_ ((void)); 3150extern void syms_of_indent P_ ((void));
3152 3151
3153/* defined in frame.c */ 3152/* Defined in frame.c */
3154#ifdef HAVE_WINDOW_SYSTEM 3153#ifdef HAVE_WINDOW_SYSTEM
3155extern Lisp_Object Vx_resource_name; 3154extern Lisp_Object Vx_resource_name;
3156extern Lisp_Object Vx_resource_class; 3155extern Lisp_Object Vx_resource_class;
@@ -3193,7 +3192,7 @@ extern void set_frame_buffer_list P_ ((Lisp_Object, Lisp_Object));
3193extern void frames_bury_buffer P_ ((Lisp_Object)); 3192extern void frames_bury_buffer P_ ((Lisp_Object));
3194extern void syms_of_frame P_ ((void)); 3193extern void syms_of_frame P_ ((void));
3195 3194
3196/* defined in emacs.c */ 3195/* Defined in emacs.c */
3197extern Lisp_Object decode_env_path P_ ((char *, char *)); 3196extern Lisp_Object decode_env_path P_ ((char *, char *));
3198extern Lisp_Object Vinvocation_name, Vinvocation_directory; 3197extern Lisp_Object Vinvocation_name, Vinvocation_directory;
3199extern Lisp_Object Vbefore_init_time, Vafter_init_time; 3198extern Lisp_Object Vbefore_init_time, Vafter_init_time;
@@ -3211,7 +3210,7 @@ void synchronize_system_time_locale P_ ((void));
3211#define synchronize_system_time_locale() 3210#define synchronize_system_time_locale()
3212#endif 3211#endif
3213void shut_down_emacs P_ ((int, int, Lisp_Object)); 3212void shut_down_emacs P_ ((int, int, Lisp_Object));
3214/* Nonzero means don't do interactive redisplay and don't change tty modes */ 3213/* Nonzero means don't do interactive redisplay and don't change tty modes. */
3215extern int noninteractive; 3214extern int noninteractive;
3216 3215
3217/* Nonzero means don't load X resources or Windows Registry settings. */ 3216/* Nonzero means don't load X resources or Windows Registry settings. */
@@ -3222,12 +3221,12 @@ extern int inhibit_x_resources;
3222extern int daemon_pipe[2]; 3221extern int daemon_pipe[2];
3223#define IS_DAEMON (daemon_pipe[1] != 0) 3222#define IS_DAEMON (daemon_pipe[1] != 0)
3224 3223
3225/* Nonzero means don't do use window-system-specific display code */ 3224/* Nonzero means don't do use window-system-specific display code. */
3226extern int inhibit_window_system; 3225extern int inhibit_window_system;
3227/* Nonzero means that a filter or a sentinel is running. */ 3226/* Nonzero means that a filter or a sentinel is running. */
3228extern int running_asynch_code; 3227extern int running_asynch_code;
3229 3228
3230/* defined in process.c */ 3229/* Defined in process.c */
3231EXFUN (Fget_process, 1); 3230EXFUN (Fget_process, 1);
3232EXFUN (Fget_buffer_process, 1); 3231EXFUN (Fget_buffer_process, 1);
3233EXFUN (Fprocessp, 1); 3232EXFUN (Fprocessp, 1);
@@ -3250,7 +3249,7 @@ extern void init_process P_ ((void));
3250extern void syms_of_process P_ ((void)); 3249extern void syms_of_process P_ ((void));
3251extern void setup_process_coding_systems P_ ((Lisp_Object)); 3250extern void setup_process_coding_systems P_ ((Lisp_Object));
3252 3251
3253/* defined in callproc.c */ 3252/* Defined in callproc.c */
3254extern Lisp_Object Vexec_path, Vexec_suffixes, 3253extern Lisp_Object Vexec_path, Vexec_suffixes,
3255 Vexec_directory, Vdata_directory; 3254 Vexec_directory, Vdata_directory;
3256extern Lisp_Object Vdoc_directory; 3255extern Lisp_Object Vdoc_directory;
@@ -3261,7 +3260,7 @@ extern void init_callproc P_ ((void));
3261extern void set_initial_environment P_ ((void)); 3260extern void set_initial_environment P_ ((void));
3262extern void syms_of_callproc P_ ((void)); 3261extern void syms_of_callproc P_ ((void));
3263 3262
3264/* defined in doc.c */ 3263/* Defined in doc.c */
3265extern Lisp_Object Vdoc_file_name; 3264extern Lisp_Object Vdoc_file_name;
3266EXFUN (Fsubstitute_command_keys, 1); 3265EXFUN (Fsubstitute_command_keys, 1);
3267EXFUN (Fdocumentation, 2); 3266EXFUN (Fdocumentation, 2);
@@ -3271,7 +3270,7 @@ extern Lisp_Object get_doc_string P_ ((Lisp_Object, int, int));
3271extern void syms_of_doc P_ ((void)); 3270extern void syms_of_doc P_ ((void));
3272extern int read_bytecode_char P_ ((int)); 3271extern int read_bytecode_char P_ ((int));
3273 3272
3274/* defined in bytecode.c */ 3273/* Defined in bytecode.c */
3275extern Lisp_Object Qbytecode; 3274extern Lisp_Object Qbytecode;
3276EXFUN (Fbyte_code, 3); 3275EXFUN (Fbyte_code, 3);
3277extern void syms_of_bytecode P_ ((void)); 3276extern void syms_of_bytecode P_ ((void));
@@ -3279,14 +3278,14 @@ extern struct byte_stack *byte_stack_list;
3279extern void mark_byte_stack P_ ((void)); 3278extern void mark_byte_stack P_ ((void));
3280extern void unmark_byte_stack P_ ((void)); 3279extern void unmark_byte_stack P_ ((void));
3281 3280
3282/* defined in macros.c */ 3281/* Defined in macros.c */
3283extern Lisp_Object Qexecute_kbd_macro; 3282extern Lisp_Object Qexecute_kbd_macro;
3284EXFUN (Fexecute_kbd_macro, 3); 3283EXFUN (Fexecute_kbd_macro, 3);
3285EXFUN (Fcancel_kbd_macro_events, 0); 3284EXFUN (Fcancel_kbd_macro_events, 0);
3286extern void init_macros P_ ((void)); 3285extern void init_macros P_ ((void));
3287extern void syms_of_macros P_ ((void)); 3286extern void syms_of_macros P_ ((void));
3288 3287
3289/* defined in undo.c */ 3288/* Defined in undo.c */
3290extern Lisp_Object Qinhibit_read_only; 3289extern Lisp_Object Qinhibit_read_only;
3291EXFUN (Fundo_boundary, 0); 3290EXFUN (Fundo_boundary, 0);
3292extern void truncate_undo_list P_ ((struct buffer *)); 3291extern void truncate_undo_list P_ ((struct buffer *));
@@ -3300,7 +3299,7 @@ extern void record_property_change P_ ((int, int, Lisp_Object, Lisp_Object,
3300extern void syms_of_undo P_ ((void)); 3299extern void syms_of_undo P_ ((void));
3301extern Lisp_Object Vundo_outer_limit; 3300extern Lisp_Object Vundo_outer_limit;
3302 3301
3303/* defined in textprop.c */ 3302/* Defined in textprop.c */
3304extern Lisp_Object Qfont, Qmouse_face; 3303extern Lisp_Object Qfont, Qmouse_face;
3305extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks; 3304extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks;
3306EXFUN (Fnext_single_property_change, 4); 3305EXFUN (Fnext_single_property_change, 4);
@@ -3317,21 +3316,21 @@ extern Lisp_Object next_single_char_property_change P_ ((Lisp_Object,
3317 Lisp_Object, 3316 Lisp_Object,
3318 Lisp_Object)); 3317 Lisp_Object));
3319 3318
3320/* defined in menu.c */ 3319/* Defined in menu.c */
3321extern void syms_of_menu P_ ((void)); 3320extern void syms_of_menu P_ ((void));
3322 3321
3323/* defined in xmenu.c */ 3322/* Defined in xmenu.c */
3324EXFUN (Fx_popup_menu, 2); 3323EXFUN (Fx_popup_menu, 2);
3325EXFUN (Fx_popup_dialog, 3); 3324EXFUN (Fx_popup_dialog, 3);
3326extern void syms_of_xmenu P_ ((void)); 3325extern void syms_of_xmenu P_ ((void));
3327 3326
3328/* defined in termchar.h */ 3327/* Defined in termchar.h */
3329struct tty_display_info; 3328struct tty_display_info;
3330 3329
3331/* defined in termhooks.h */ 3330/* Defined in termhooks.h */
3332struct terminal; 3331struct terminal;
3333 3332
3334/* defined in sysdep.c */ 3333/* Defined in sysdep.c */
3335#ifndef HAVE_GET_CURRENT_DIR_NAME 3334#ifndef HAVE_GET_CURRENT_DIR_NAME
3336extern char *get_current_dir_name P_ ((void)); 3335extern char *get_current_dir_name P_ ((void));
3337#endif 3336#endif
@@ -3355,7 +3354,7 @@ extern int emacs_close P_ ((int));
3355extern int emacs_read P_ ((int, char *, unsigned int)); 3354extern int emacs_read P_ ((int, char *, unsigned int));
3356extern int emacs_write P_ ((int, const char *, unsigned int)); 3355extern int emacs_write P_ ((int, const char *, unsigned int));
3357 3356
3358/* defined in filelock.c */ 3357/* Defined in filelock.c */
3359EXFUN (Funlock_buffer, 0); 3358EXFUN (Funlock_buffer, 0);
3360EXFUN (Ffile_locked_p, 1); 3359EXFUN (Ffile_locked_p, 1);
3361extern void unlock_all_files P_ ((void)); 3360extern void unlock_all_files P_ ((void));
diff --git a/src/regex.c b/src/regex.c
index f242446796d..85ff9b99604 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2086,7 +2086,7 @@ struct range_table_work_area
2086 } while (0) 2086 } while (0)
2087 2087
2088 2088
2089/* Both FROM and TO are mulitbyte characters. */ 2089/* Both FROM and TO are multibyte characters. */
2090 2090
2091#define SETUP_MULTIBYTE_RANGE(work_area, FROM, TO) \ 2091#define SETUP_MULTIBYTE_RANGE(work_area, FROM, TO) \
2092 do { \ 2092 do { \
@@ -3805,7 +3805,7 @@ regex_compile (pattern, size, syntax, bufp)
3805 3805
3806 if (c1 != c2 && (c1 = RE_CHAR_TO_UNIBYTE (c2)) >= 0) 3806 if (c1 != c2 && (c1 = RE_CHAR_TO_UNIBYTE (c2)) >= 0)
3807 c = c1; 3807 c = c1;
3808 } 3808 }
3809 *b++ = c; 3809 *b++ = c;
3810 len = 1; 3810 len = 1;
3811 } 3811 }
@@ -4125,7 +4125,7 @@ analyse_first (p, pend, fastmap, multibyte)
4125 if (/* Any leading code can possibly start a character 4125 if (/* Any leading code can possibly start a character
4126 which doesn't match the specified set of characters. */ 4126 which doesn't match the specified set of characters. */
4127 not 4127 not
4128 || 4128 ||
4129 /* If we can match a character class, we can match any 4129 /* If we can match a character class, we can match any
4130 multibyte characters. */ 4130 multibyte characters. */
4131 (CHARSET_RANGE_TABLE_EXISTS_P (&p[-2]) 4131 (CHARSET_RANGE_TABLE_EXISTS_P (&p[-2])
diff --git a/src/search.c b/src/search.c
index 2269afc6d82..736a89258f5 100644
--- a/src/search.c
+++ b/src/search.c
@@ -100,10 +100,10 @@ Lisp_Object Vinhibit_changing_match_data;
100 100
101static void set_search_regs P_ ((EMACS_INT, EMACS_INT)); 101static void set_search_regs P_ ((EMACS_INT, EMACS_INT));
102static void save_search_regs P_ ((void)); 102static void save_search_regs P_ ((void));
103static EMACS_INT simple_search P_ ((int, unsigned char *, int, int, 103static EMACS_INT simple_search P_ ((int, unsigned char *, int, int,
104 Lisp_Object, EMACS_INT, EMACS_INT, 104 Lisp_Object, EMACS_INT, EMACS_INT,
105 EMACS_INT, EMACS_INT)); 105 EMACS_INT, EMACS_INT));
106static EMACS_INT boyer_moore P_ ((int, unsigned char *, int, int, 106static EMACS_INT boyer_moore P_ ((int, unsigned char *, int, int,
107 Lisp_Object, Lisp_Object, 107 Lisp_Object, Lisp_Object,
108 EMACS_INT, EMACS_INT, 108 EMACS_INT, EMACS_INT,
109 EMACS_INT, EMACS_INT, int)); 109 EMACS_INT, EMACS_INT, int));
@@ -281,7 +281,7 @@ compile_pattern (pattern, regp, translate, posix, multibyte)
281 if (regp) 281 if (regp)
282 re_set_registers (&cp->buf, regp, regp->num_regs, regp->start, regp->end); 282 re_set_registers (&cp->buf, regp, regp->num_regs, regp->start, regp->end);
283 283
284 /* The compiled pattern can be used both for mulitbyte and unibyte 284 /* The compiled pattern can be used both for multibyte and unibyte
285 target. But, we have to tell which the pattern is used for. */ 285 target. But, we have to tell which the pattern is used for. */
286 cp->buf.target_multibyte = multibyte; 286 cp->buf.target_multibyte = multibyte;
287 287
@@ -582,7 +582,7 @@ fast_looking_at (regexp, pos, pos_byte, limit, limit_byte, string)
582 unsigned char *p1, *p2; 582 unsigned char *p1, *p2;
583 EMACS_INT s1, s2; 583 EMACS_INT s1, s2;
584 EMACS_INT len; 584 EMACS_INT len;
585 585
586 if (STRINGP (string)) 586 if (STRINGP (string))
587 { 587 {
588 if (pos_byte < 0) 588 if (pos_byte < 0)