aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 22:04:02 -0700
committerPaul Eggert2011-04-13 22:04:02 -0700
commita7ca3326c4740ed3ed118b794d35d235de49f346 (patch)
tree5d38e0eac8e839c84a4ccb6e8a07c3c7858fff54 /src
parente87b6180b08c60a256dd8557945321ce2354a3a9 (diff)
downloademacs-a7ca3326c4740ed3ed118b794d35d235de49f346.tar.gz
emacs-a7ca3326c4740ed3ed118b794d35d235de49f346.zip
Undo the DEFUN->DEFUE change.
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c26
-rw-r--r--src/buffer.c46
-rw-r--r--src/callint.c2
-rw-r--r--src/callproc.c2
-rw-r--r--src/casefiddle.c10
-rw-r--r--src/casetab.c4
-rw-r--r--src/ccl.c2
-rw-r--r--src/character.c4
-rw-r--r--src/chartab.c12
-rw-r--r--src/cmds.c6
-rw-r--r--src/coding.c16
-rw-r--r--src/data.c84
-rw-r--r--src/dispnew.c10
-rw-r--r--src/doc.c2
-rw-r--r--src/editfns.c60
-rw-r--r--src/emacs.c2
-rw-r--r--src/eval.c24
-rw-r--r--src/fileio.c34
-rw-r--r--src/filelock.c2
-rw-r--r--src/floatfns.c4
-rw-r--r--src/fns.c88
-rw-r--r--src/font.c14
-rw-r--r--src/fontset.c4
-rw-r--r--src/frame.c26
-rw-r--r--src/image.c6
-rw-r--r--src/indent.c6
-rw-r--r--src/keyboard.c14
-rw-r--r--src/keymap.c20
-rw-r--r--src/lisp.h8
-rw-r--r--src/lread.c18
-rw-r--r--src/macros.c4
-rw-r--r--src/marker.c8
-rw-r--r--src/menu.c2
-rw-r--r--src/minibuf.c16
-rw-r--r--src/print.c10
-rw-r--r--src/process.c8
-rw-r--r--src/search.c10
-rw-r--r--src/syntax.c6
-rw-r--r--src/term.c2
-rw-r--r--src/terminal.c4
-rw-r--r--src/textprop.c34
-rw-r--r--src/undo.c2
-rw-r--r--src/window.c32
-rw-r--r--src/xdisp.c12
-rw-r--r--src/xfaces.c8
-rw-r--r--src/xfns.c8
-rw-r--r--src/xmenu.c2
-rw-r--r--src/xsettings.c2
48 files changed, 361 insertions, 365 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7803ccdc976..d1d6323f905 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2177,7 +2177,7 @@ compact_small_strings (void)
2177} 2177}
2178 2178
2179 2179
2180DEFUE ("make-string", Fmake_string, Smake_string, 2, 2, 0, 2180DEFUN ("make-string", Fmake_string, Smake_string, 2, 2, 0,
2181 doc: /* Return a newly created string of length LENGTH, with INIT in each element. 2181 doc: /* Return a newly created string of length LENGTH, with INIT in each element.
2182LENGTH must be an integer. 2182LENGTH must be an integer.
2183INIT must be an integer that represents a character. */) 2183INIT must be an integer that represents a character. */)
@@ -2225,7 +2225,7 @@ INIT must be an integer that represents a character. */)
2225} 2225}
2226 2226
2227 2227
2228DEFUE ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0, 2228DEFUN ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0,
2229 doc: /* Return a new bool-vector of length LENGTH, using INIT for each element. 2229 doc: /* Return a new bool-vector of length LENGTH, using INIT for each element.
2230LENGTH must be a number. INIT matters only in whether it is t or nil. */) 2230LENGTH must be a number. INIT matters only in whether it is t or nil. */)
2231 (Lisp_Object length, Lisp_Object init) 2231 (Lisp_Object length, Lisp_Object init)
@@ -2613,7 +2613,7 @@ free_cons (struct Lisp_Cons *ptr)
2613 cons_free_list = ptr; 2613 cons_free_list = ptr;
2614} 2614}
2615 2615
2616DEFUE ("cons", Fcons, Scons, 2, 2, 0, 2616DEFUN ("cons", Fcons, Scons, 2, 2, 0,
2617 doc: /* Create a new cons, give it CAR and CDR as components, and return it. */) 2617 doc: /* Create a new cons, give it CAR and CDR as components, and return it. */)
2618 (Lisp_Object car, Lisp_Object cdr) 2618 (Lisp_Object car, Lisp_Object cdr)
2619{ 2619{
@@ -2706,7 +2706,7 @@ list5 (Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3, Lisp_Object arg4, L
2706} 2706}
2707 2707
2708 2708
2709DEFUE ("list", Flist, Slist, 0, MANY, 0, 2709DEFUN ("list", Flist, Slist, 0, MANY, 0,
2710 doc: /* Return a newly created list with specified arguments as elements. 2710 doc: /* Return a newly created list with specified arguments as elements.
2711Any number of arguments, even zero arguments, are allowed. 2711Any number of arguments, even zero arguments, are allowed.
2712usage: (list &rest OBJECTS) */) 2712usage: (list &rest OBJECTS) */)
@@ -2724,7 +2724,7 @@ usage: (list &rest OBJECTS) */)
2724} 2724}
2725 2725
2726 2726
2727DEFUE ("make-list", Fmake_list, Smake_list, 2, 2, 0, 2727DEFUN ("make-list", Fmake_list, Smake_list, 2, 2, 0,
2728 doc: /* Return a newly created list of length LENGTH, with each element being INIT. */) 2728 doc: /* Return a newly created list of length LENGTH, with each element being INIT. */)
2729 (register Lisp_Object length, Lisp_Object init) 2729 (register Lisp_Object length, Lisp_Object init)
2730{ 2730{
@@ -2900,7 +2900,7 @@ allocate_process (void)
2900} 2900}
2901 2901
2902 2902
2903DEFUE ("make-vector", Fmake_vector, Smake_vector, 2, 2, 0, 2903DEFUN ("make-vector", Fmake_vector, Smake_vector, 2, 2, 0,
2904 doc: /* Return a newly created vector of length LENGTH, with each element being INIT. 2904 doc: /* Return a newly created vector of length LENGTH, with each element being INIT.
2905See also the function `vector'. */) 2905See also the function `vector'. */)
2906 (register Lisp_Object length, Lisp_Object init) 2906 (register Lisp_Object length, Lisp_Object init)
@@ -2922,7 +2922,7 @@ See also the function `vector'. */)
2922} 2922}
2923 2923
2924 2924
2925DEFUE ("vector", Fvector, Svector, 0, MANY, 0, 2925DEFUN ("vector", Fvector, Svector, 0, MANY, 0,
2926 doc: /* Return a newly created vector with specified arguments as elements. 2926 doc: /* Return a newly created vector with specified arguments as elements.
2927Any number of arguments, even zero arguments, are allowed. 2927Any number of arguments, even zero arguments, are allowed.
2928usage: (vector &rest OBJECTS) */) 2928usage: (vector &rest OBJECTS) */)
@@ -2941,7 +2941,7 @@ usage: (vector &rest OBJECTS) */)
2941} 2941}
2942 2942
2943 2943
2944DEFUE ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0, 2944DEFUN ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0,
2945 doc: /* Create a byte-code object with specified arguments as elements. 2945 doc: /* Create a byte-code object with specified arguments as elements.
2946The arguments should be the ARGLIST, bytecode-string BYTE-CODE, constant 2946The arguments should be the ARGLIST, bytecode-string BYTE-CODE, constant
2947vector CONSTANTS, maximum stack size DEPTH, (optional) DOCSTRING, 2947vector CONSTANTS, maximum stack size DEPTH, (optional) DOCSTRING,
@@ -3036,7 +3036,7 @@ init_symbol (void)
3036} 3036}
3037 3037
3038 3038
3039DEFUE ("make-symbol", Fmake_symbol, Smake_symbol, 1, 1, 0, 3039DEFUN ("make-symbol", Fmake_symbol, Smake_symbol, 1, 1, 0,
3040 doc: /* Return a newly allocated uninterned symbol whose name is NAME. 3040 doc: /* Return a newly allocated uninterned symbol whose name is NAME.
3041Its value and function definition are void, and its property list is nil. */) 3041Its value and function definition are void, and its property list is nil. */)
3042 (Lisp_Object name) 3042 (Lisp_Object name)
@@ -3199,7 +3199,7 @@ make_save_value (void *pointer, int integer)
3199 return val; 3199 return val;
3200} 3200}
3201 3201
3202DEFUE ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, 3202DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0,
3203 doc: /* Return a newly allocated marker which does not point at any place. */) 3203 doc: /* Return a newly allocated marker which does not point at any place. */)
3204 (void) 3204 (void)
3205{ 3205{
@@ -3928,7 +3928,7 @@ static int max_live, max_zombies;
3928 3928
3929static double avg_live; 3929static double avg_live;
3930 3930
3931DEFUE ("gc-status", Fgc_status, Sgc_status, 0, 0, "", 3931DEFUN ("gc-status", Fgc_status, Sgc_status, 0, 0, "",
3932 doc: /* Show information about live and zombie objects. */) 3932 doc: /* Show information about live and zombie objects. */)
3933 (void) 3933 (void)
3934{ 3934{
@@ -4743,7 +4743,7 @@ make_pure_vector (EMACS_INT len)
4743} 4743}
4744 4744
4745 4745
4746DEFUE ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0, 4746DEFUN ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0,
4747 doc: /* Make a copy of object OBJ in pure storage. 4747 doc: /* Make a copy of object OBJ in pure storage.
4748Recursively copies contents of vectors and cons cells. 4748Recursively copies contents of vectors and cons cells.
4749Does not copy symbols. Copies strings without text properties. */) 4749Does not copy symbols. Copies strings without text properties. */)
@@ -4837,7 +4837,7 @@ inhibit_garbage_collection (void)
4837} 4837}
4838 4838
4839 4839
4840DEFUE ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", 4840DEFUN ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "",
4841 doc: /* Reclaim storage for Lisp objects no longer needed. 4841 doc: /* Reclaim storage for Lisp objects no longer needed.
4842Garbage collection happens automatically if you cons more than 4842Garbage collection happens automatically if you cons more than
4843`gc-cons-threshold' bytes of Lisp data since previous garbage collection. 4843`gc-cons-threshold' bytes of Lisp data since previous garbage collection.
diff --git a/src/buffer.c b/src/buffer.c
index 4e690f42934..7b543b80a25 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -160,7 +160,7 @@ nsberror (Lisp_Object spec)
160 error ("Invalid buffer argument"); 160 error ("Invalid buffer argument");
161} 161}
162 162
163DEFUE ("buffer-live-p", Fbuffer_live_p, Sbuffer_live_p, 1, 1, 0, 163DEFUN ("buffer-live-p", Fbuffer_live_p, Sbuffer_live_p, 1, 1, 0,
164 doc: /* Return non-nil if OBJECT is a buffer which has not been killed. 164 doc: /* Return non-nil if OBJECT is a buffer which has not been killed.
165Value is nil if OBJECT is not a buffer or if it has been killed. */) 165Value is nil if OBJECT is not a buffer or if it has been killed. */)
166 (Lisp_Object object) 166 (Lisp_Object object)
@@ -232,7 +232,7 @@ assoc_ignore_text_properties (register Lisp_Object key, Lisp_Object list)
232 return Qnil; 232 return Qnil;
233} 233}
234 234
235DEFUE ("get-buffer", Fget_buffer, Sget_buffer, 1, 1, 0, 235DEFUN ("get-buffer", Fget_buffer, Sget_buffer, 1, 1, 0,
236 doc: /* Return the buffer named BUFFER-OR-NAME. 236 doc: /* Return the buffer named BUFFER-OR-NAME.
237BUFFER-OR-NAME must be either a string or a buffer. If BUFFER-OR-NAME 237BUFFER-OR-NAME must be either a string or a buffer. If BUFFER-OR-NAME
238is a string and there is no buffer with that name, return nil. If 238is a string and there is no buffer with that name, return nil. If
@@ -294,7 +294,7 @@ get_truename_buffer (register Lisp_Object filename)
294 return Qnil; 294 return Qnil;
295} 295}
296 296
297DEFUE ("get-buffer-create", Fget_buffer_create, Sget_buffer_create, 1, 1, 0, 297DEFUN ("get-buffer-create", Fget_buffer_create, Sget_buffer_create, 1, 1, 0,
298 doc: /* Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed. 298 doc: /* Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed.
299If BUFFER-OR-NAME is a string and a live buffer with that name exists, 299If BUFFER-OR-NAME is a string and a live buffer with that name exists,
300return that buffer. If no such buffer exists, create a new buffer with 300return that buffer. If no such buffer exists, create a new buffer with
@@ -830,7 +830,7 @@ reset_buffer_local_variables (register struct buffer *b, int permanent_too)
830 and set-visited-file-name ought to be able to use this to really 830 and set-visited-file-name ought to be able to use this to really
831 rename the buffer properly. */ 831 rename the buffer properly. */
832 832
833DEFUE ("generate-new-buffer-name", Fgenerate_new_buffer_name, 833DEFUN ("generate-new-buffer-name", Fgenerate_new_buffer_name,
834 Sgenerate_new_buffer_name, 1, 2, 0, 834 Sgenerate_new_buffer_name, 1, 2, 0,
835 doc: /* Return a string that is the name of no existing buffer based on NAME. 835 doc: /* Return a string that is the name of no existing buffer based on NAME.
836If there is no live buffer named NAME, then return NAME. 836If there is no live buffer named NAME, then return NAME.
@@ -868,7 +868,7 @@ it is in the sequence to be tried) even if a buffer with that name exists. */)
868} 868}
869 869
870 870
871DEFUE ("buffer-name", Fbuffer_name, Sbuffer_name, 0, 1, 0, 871DEFUN ("buffer-name", Fbuffer_name, Sbuffer_name, 0, 1, 0,
872 doc: /* Return the name of BUFFER, as a string. 872 doc: /* Return the name of BUFFER, as a string.
873BUFFER defaults to the current buffer. 873BUFFER defaults to the current buffer.
874Return nil if BUFFER has been killed. */) 874Return nil if BUFFER has been killed. */)
@@ -880,7 +880,7 @@ Return nil if BUFFER has been killed. */)
880 return BVAR (XBUFFER (buffer), name); 880 return BVAR (XBUFFER (buffer), name);
881} 881}
882 882
883DEFUE ("buffer-file-name", Fbuffer_file_name, Sbuffer_file_name, 0, 1, 0, 883DEFUN ("buffer-file-name", Fbuffer_file_name, Sbuffer_file_name, 0, 1, 0,
884 doc: /* Return name of file BUFFER is visiting, or nil if none. 884 doc: /* Return name of file BUFFER is visiting, or nil if none.
885No argument or nil as argument means use the current buffer. */) 885No argument or nil as argument means use the current buffer. */)
886 (register Lisp_Object buffer) 886 (register Lisp_Object buffer)
@@ -915,7 +915,7 @@ BUFFER defaults to the current buffer. */)
915 return base_buffer; 915 return base_buffer;
916} 916}
917 917
918DEFUE ("buffer-local-value", Fbuffer_local_value, 918DEFUN ("buffer-local-value", Fbuffer_local_value,
919 Sbuffer_local_value, 2, 2, 0, 919 Sbuffer_local_value, 2, 2, 0,
920 doc: /* Return the value of VARIABLE in BUFFER. 920 doc: /* Return the value of VARIABLE in BUFFER.
921If VARIABLE does not have a buffer-local binding in BUFFER, the value 921If VARIABLE does not have a buffer-local binding in BUFFER, the value
@@ -1056,7 +1056,7 @@ No argument or nil as argument means use current buffer as BUFFER. */)
1056 return result; 1056 return result;
1057} 1057}
1058 1058
1059DEFUE ("buffer-modified-p", Fbuffer_modified_p, Sbuffer_modified_p, 1059DEFUN ("buffer-modified-p", Fbuffer_modified_p, Sbuffer_modified_p,
1060 0, 1, 0, 1060 0, 1, 0,
1061 doc: /* Return t if BUFFER was modified since its file was last read or saved. 1061 doc: /* Return t if BUFFER was modified since its file was last read or saved.
1062No argument or nil as argument means use current buffer as BUFFER. */) 1062No argument or nil as argument means use current buffer as BUFFER. */)
@@ -1074,7 +1074,7 @@ No argument or nil as argument means use current buffer as BUFFER. */)
1074 return BUF_SAVE_MODIFF (buf) < BUF_MODIFF (buf) ? Qt : Qnil; 1074 return BUF_SAVE_MODIFF (buf) < BUF_MODIFF (buf) ? Qt : Qnil;
1075} 1075}
1076 1076
1077DEFUE ("set-buffer-modified-p", Fset_buffer_modified_p, Sset_buffer_modified_p, 1077DEFUN ("set-buffer-modified-p", Fset_buffer_modified_p, Sset_buffer_modified_p,
1078 1, 1, 0, 1078 1, 1, 0,
1079 doc: /* Mark current buffer as modified or unmodified according to FLAG. 1079 doc: /* Mark current buffer as modified or unmodified according to FLAG.
1080A non-nil FLAG means mark the buffer modified. */) 1080A non-nil FLAG means mark the buffer modified. */)
@@ -1266,7 +1266,7 @@ This does not change the name of the visited file (if any). */)
1266 return BVAR (current_buffer, name); 1266 return BVAR (current_buffer, name);
1267} 1267}
1268 1268
1269DEFUE ("other-buffer", Fother_buffer, Sother_buffer, 0, 3, 0, 1269DEFUN ("other-buffer", Fother_buffer, Sother_buffer, 0, 3, 0,
1270 doc: /* Return most recently selected buffer other than BUFFER. 1270 doc: /* Return most recently selected buffer other than BUFFER.
1271Buffers not visible in windows are preferred to visible buffers, 1271Buffers not visible in windows are preferred to visible buffers,
1272unless optional second argument VISIBLE-OK is non-nil. 1272unless optional second argument VISIBLE-OK is non-nil.
@@ -1340,7 +1340,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned. */)
1340 return buf; 1340 return buf;
1341} 1341}
1342 1342
1343DEFUE ("buffer-enable-undo", Fbuffer_enable_undo, Sbuffer_enable_undo, 1343DEFUN ("buffer-enable-undo", Fbuffer_enable_undo, Sbuffer_enable_undo,
1344 0, 1, "", 1344 0, 1, "",
1345 doc: /* Start keeping undo information for buffer BUFFER. 1345 doc: /* Start keeping undo information for buffer BUFFER.
1346No argument or nil as argument means do this for the current buffer. */) 1346No argument or nil as argument means do this for the current buffer. */)
@@ -1369,7 +1369,7 @@ Hook to be run (by `run-hooks', which see) when a buffer is killed.\n\
1369The buffer being killed will be current while the hook is running.\n\ 1369The buffer being killed will be current while the hook is running.\n\
1370See `kill-buffer'." 1370See `kill-buffer'."
1371 */ 1371 */
1372DEFUE ("kill-buffer", Fkill_buffer, Skill_buffer, 0, 1, "bKill buffer: ", 1372DEFUN ("kill-buffer", Fkill_buffer, Skill_buffer, 0, 1, "bKill buffer: ",
1373 doc: /* Kill buffer BUFFER-OR-NAME. 1373 doc: /* Kill buffer BUFFER-OR-NAME.
1374The argument may be a buffer or the name of an existing buffer. 1374The argument may be a buffer or the name of an existing buffer.
1375Argument nil or omitted means kill the current buffer. Return t if the 1375Argument nil or omitted means kill the current buffer. Return t if the
@@ -1788,7 +1788,7 @@ messing with the window-buffer correspondences. */)
1788 return switch_to_buffer_1 (buffer_or_name, norecord); 1788 return switch_to_buffer_1 (buffer_or_name, norecord);
1789} 1789}
1790 1790
1791DEFUE ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0, 1791DEFUN ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0,
1792 doc: /* Return the current buffer as a Lisp object. */) 1792 doc: /* Return the current buffer as a Lisp object. */)
1793 (void) 1793 (void)
1794{ 1794{
@@ -1898,7 +1898,7 @@ set_buffer_temp (struct buffer *b)
1898 fetch_buffer_markers (b); 1898 fetch_buffer_markers (b);
1899} 1899}
1900 1900
1901DEFUE ("set-buffer", Fset_buffer, Sset_buffer, 1, 1, 0, 1901DEFUN ("set-buffer", Fset_buffer, Sset_buffer, 1, 1, 0,
1902 doc: /* Make buffer BUFFER-OR-NAME current for editing operations. 1902 doc: /* Make buffer BUFFER-OR-NAME current for editing operations.
1903BUFFER-OR-NAME may be a buffer or the name of an existing buffer. See 1903BUFFER-OR-NAME may be a buffer or the name of an existing buffer. See
1904also `save-excursion' when you want to make a buffer current 1904also `save-excursion' when you want to make a buffer current
@@ -1927,7 +1927,7 @@ set_buffer_if_live (Lisp_Object buffer)
1927 return Qnil; 1927 return Qnil;
1928} 1928}
1929 1929
1930DEFUE ("barf-if-buffer-read-only", Fbarf_if_buffer_read_only, 1930DEFUN ("barf-if-buffer-read-only", Fbarf_if_buffer_read_only,
1931 Sbarf_if_buffer_read_only, 0, 0, 0, 1931 Sbarf_if_buffer_read_only, 0, 0, 0,
1932 doc: /* Signal a `buffer-read-only' error if the current buffer is read-only. */) 1932 doc: /* Signal a `buffer-read-only' error if the current buffer is read-only. */)
1933 (void) 1933 (void)
@@ -2000,7 +2000,7 @@ its frame, iconify that frame. */)
2000 return Qnil; 2000 return Qnil;
2001} 2001}
2002 2002
2003DEFUE ("erase-buffer", Ferase_buffer, Serase_buffer, 0, 0, "*", 2003DEFUN ("erase-buffer", Ferase_buffer, Serase_buffer, 0, 0, "*",
2004 doc: /* Delete the entire contents of the current buffer. 2004 doc: /* Delete the entire contents of the current buffer.
2005Any narrowing restriction in effect (see `narrow-to-region') is removed, 2005Any narrowing restriction in effect (see `narrow-to-region') is removed,
2006so the buffer is truly empty after this. */) 2006so the buffer is truly empty after this. */)
@@ -2211,7 +2211,7 @@ DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
2211 return Qnil; 2211 return Qnil;
2212} 2212}
2213 2213
2214DEFUE ("set-buffer-multibyte", Fset_buffer_multibyte, Sset_buffer_multibyte, 2214DEFUN ("set-buffer-multibyte", Fset_buffer_multibyte, Sset_buffer_multibyte,
2215 1, 1, 0, 2215 1, 1, 0,
2216 doc: /* Set the multibyte flag of the current buffer to FLAG. 2216 doc: /* Set the multibyte flag of the current buffer to FLAG.
2217If FLAG is t, this makes the buffer a multibyte buffer. 2217If FLAG is t, this makes the buffer a multibyte buffer.
@@ -2500,7 +2500,7 @@ current buffer is cleared. */)
2500 return flag; 2500 return flag;
2501} 2501}
2502 2502
2503DEFUE ("kill-all-local-variables", Fkill_all_local_variables, 2503DEFUN ("kill-all-local-variables", Fkill_all_local_variables,
2504 Skill_all_local_variables, 0, 0, 0, 2504 Skill_all_local_variables, 0, 0, 0,
2505 doc: /* Switch to Fundamental mode by killing current buffer's local variables. 2505 doc: /* Switch to Fundamental mode by killing current buffer's local variables.
2506Most local variable bindings are eliminated so that the default values 2506Most local variable bindings are eliminated so that the default values
@@ -3899,7 +3899,7 @@ DEFUN ("delete-overlay", Fdelete_overlay, Sdelete_overlay, 1, 1, 0,
3899 3899
3900/* Overlay dissection functions. */ 3900/* Overlay dissection functions. */
3901 3901
3902DEFUE ("overlay-start", Foverlay_start, Soverlay_start, 1, 1, 0, 3902DEFUN ("overlay-start", Foverlay_start, Soverlay_start, 1, 1, 0,
3903 doc: /* Return the position at which OVERLAY starts. */) 3903 doc: /* Return the position at which OVERLAY starts. */)
3904 (Lisp_Object overlay) 3904 (Lisp_Object overlay)
3905{ 3905{
@@ -3908,7 +3908,7 @@ DEFUE ("overlay-start", Foverlay_start, Soverlay_start, 1, 1, 0,
3908 return (Fmarker_position (OVERLAY_START (overlay))); 3908 return (Fmarker_position (OVERLAY_START (overlay)));
3909} 3909}
3910 3910
3911DEFUE ("overlay-end", Foverlay_end, Soverlay_end, 1, 1, 0, 3911DEFUN ("overlay-end", Foverlay_end, Soverlay_end, 1, 1, 0,
3912 doc: /* Return the position at which OVERLAY ends. */) 3912 doc: /* Return the position at which OVERLAY ends. */)
3913 (Lisp_Object overlay) 3913 (Lisp_Object overlay)
3914{ 3914{
@@ -3998,7 +3998,7 @@ end of the buffer. */)
3998 return result; 3998 return result;
3999} 3999}
4000 4000
4001DEFUE ("next-overlay-change", Fnext_overlay_change, Snext_overlay_change, 4001DEFUN ("next-overlay-change", Fnext_overlay_change, Snext_overlay_change,
4002 1, 1, 0, 4002 1, 1, 0,
4003 doc: /* Return the next position after POS where an overlay starts or ends. 4003 doc: /* Return the next position after POS where an overlay starts or ends.
4004If there are no overlay boundaries from POS to (point-max), 4004If there are no overlay boundaries from POS to (point-max),
@@ -4039,7 +4039,7 @@ the value is (point-max). */)
4039 return make_number (endpos); 4039 return make_number (endpos);
4040} 4040}
4041 4041
4042DEFUE ("previous-overlay-change", Fprevious_overlay_change, 4042DEFUN ("previous-overlay-change", Fprevious_overlay_change,
4043 Sprevious_overlay_change, 1, 1, 0, 4043 Sprevious_overlay_change, 1, 1, 0,
4044 doc: /* Return the previous position before POS where an overlay starts or ends. 4044 doc: /* Return the previous position before POS where an overlay starts or ends.
4045If there are no overlay boundaries from (point-min) to POS, 4045If there are no overlay boundaries from (point-min) to POS,
@@ -4108,7 +4108,7 @@ for positions far away from POS). */)
4108 return Qnil; 4108 return Qnil;
4109} 4109}
4110 4110
4111DEFUE ("overlay-get", Foverlay_get, Soverlay_get, 2, 2, 0, 4111DEFUN ("overlay-get", Foverlay_get, Soverlay_get, 2, 2, 0,
4112 doc: /* Get the property of overlay OVERLAY with property name PROP. */) 4112 doc: /* Get the property of overlay OVERLAY with property name PROP. */)
4113 (Lisp_Object overlay, Lisp_Object prop) 4113 (Lisp_Object overlay, Lisp_Object prop)
4114{ 4114{
diff --git a/src/callint.c b/src/callint.c
index e491e4e5952..e5ec3d7d931 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -852,7 +852,7 @@ invoke it. If KEYS is omitted or nil, the return value of
852 } 852 }
853} 853}
854 854
855DEFUE ("prefix-numeric-value", Fprefix_numeric_value, Sprefix_numeric_value, 855DEFUN ("prefix-numeric-value", Fprefix_numeric_value, Sprefix_numeric_value,
856 1, 1, 0, 856 1, 1, 0,
857 doc: /* Return numeric meaning of raw prefix argument RAW. 857 doc: /* Return numeric meaning of raw prefix argument RAW.
858A raw prefix argument is what you get from `(interactive "P")'. 858A raw prefix argument is what you get from `(interactive "P")'.
diff --git a/src/callproc.c b/src/callproc.c
index ec6afcde3a3..57f058aa165 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -152,7 +152,7 @@ call_process_cleanup (Lisp_Object arg)
152 return Qnil; 152 return Qnil;
153} 153}
154 154
155DEFUE ("call-process", Fcall_process, Scall_process, 1, MANY, 0, 155DEFUN ("call-process", Fcall_process, Scall_process, 1, MANY, 0,
156 doc: /* Call PROGRAM synchronously in separate process. 156 doc: /* Call PROGRAM synchronously in separate process.
157The remaining arguments are optional. 157The remaining arguments are optional.
158The program's input comes from file INFILE (nil means `/dev/null'). 158The program's input comes from file INFILE (nil means `/dev/null').
diff --git a/src/casefiddle.c b/src/casefiddle.c
index 7a220c81865..9f286d73a5e 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -148,7 +148,7 @@ casify_object (enum case_action flag, Lisp_Object obj)
148 } 148 }
149} 149}
150 150
151DEFUE ("upcase", Fupcase, Supcase, 1, 1, 0, 151DEFUN ("upcase", Fupcase, Supcase, 1, 1, 0,
152 doc: /* Convert argument to upper case and return that. 152 doc: /* Convert argument to upper case and return that.
153The argument may be a character or string. The result has the same type. 153The argument may be a character or string. The result has the same type.
154The argument object is not altered--the value is a copy. 154The argument object is not altered--the value is a copy.
@@ -158,7 +158,7 @@ See also `capitalize', `downcase' and `upcase-initials'. */)
158 return casify_object (CASE_UP, obj); 158 return casify_object (CASE_UP, obj);
159} 159}
160 160
161DEFUE ("downcase", Fdowncase, Sdowncase, 1, 1, 0, 161DEFUN ("downcase", Fdowncase, Sdowncase, 1, 1, 0,
162 doc: /* Convert argument to lower case and return that. 162 doc: /* Convert argument to lower case and return that.
163The argument may be a character or string. The result has the same type. 163The argument may be a character or string. The result has the same type.
164The argument object is not altered--the value is a copy. */) 164The argument object is not altered--the value is a copy. */)
@@ -180,7 +180,7 @@ The argument object is not altered--the value is a copy. */)
180 180
181/* Like Fcapitalize but change only the initials. */ 181/* Like Fcapitalize but change only the initials. */
182 182
183DEFUE ("upcase-initials", Fupcase_initials, Supcase_initials, 1, 1, 0, 183DEFUN ("upcase-initials", Fupcase_initials, Supcase_initials, 1, 1, 0,
184 doc: /* Convert the initial of each word in the argument to upper case. 184 doc: /* Convert the initial of each word in the argument to upper case.
185Do not change the other letters of each word. 185Do not change the other letters of each word.
186The argument may be a character or string. The result has the same type. 186The argument may be a character or string. The result has the same type.
@@ -301,7 +301,7 @@ casify_region (enum case_action flag, Lisp_Object b, Lisp_Object e)
301 } 301 }
302} 302}
303 303
304DEFUE ("upcase-region", Fupcase_region, Supcase_region, 2, 2, "r", 304DEFUN ("upcase-region", Fupcase_region, Supcase_region, 2, 2, "r",
305 doc: /* Convert the region to upper case. In programs, wants two arguments. 305 doc: /* Convert the region to upper case. In programs, wants two arguments.
306These arguments specify the starting and ending character numbers of 306These arguments specify the starting and ending character numbers of
307the region to operate on. When used as a command, the text between 307the region to operate on. When used as a command, the text between
@@ -338,7 +338,7 @@ character positions to operate on. */)
338 338
339/* Like Fcapitalize_region but change only the initials. */ 339/* Like Fcapitalize_region but change only the initials. */
340 340
341DEFUE ("upcase-initials-region", Fupcase_initials_region, 341DEFUN ("upcase-initials-region", Fupcase_initials_region,
342 Supcase_initials_region, 2, 2, "r", 342 Supcase_initials_region, 2, 2, "r",
343 doc: /* Upcase the initial of each word in the region. 343 doc: /* Upcase the initial of each word in the region.
344Subsequent letters of each word are not changed. 344Subsequent letters of each word are not changed.
diff --git a/src/casetab.c b/src/casetab.c
index 4bea6ee7e71..29120dd08ce 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -81,7 +81,7 @@ This is the one used for new buffers. */)
81 81
82static Lisp_Object set_case_table (Lisp_Object table, int standard); 82static Lisp_Object set_case_table (Lisp_Object table, int standard);
83 83
84DEFUE ("set-case-table", Fset_case_table, Sset_case_table, 1, 1, 0, 84DEFUN ("set-case-table", Fset_case_table, Sset_case_table, 1, 1, 0,
85 doc: /* Select a new case table for the current buffer. 85 doc: /* Select a new case table for the current buffer.
86A case table is a char-table which maps characters 86A case table is a char-table which maps characters
87to their lower-case equivalents. It also has three \"extra\" slots 87to their lower-case equivalents. It also has three \"extra\" slots
@@ -103,7 +103,7 @@ EQUIVALENCES is a map that cyclicly permutes each equivalence class
103 return set_case_table (table, 0); 103 return set_case_table (table, 0);
104} 104}
105 105
106DEFUE ("set-standard-case-table", Fset_standard_case_table, 106DEFUN ("set-standard-case-table", Fset_standard_case_table,
107 Sset_standard_case_table, 1, 1, 0, 107 Sset_standard_case_table, 1, 1, 0,
108 doc: /* Select a new standard case table for new buffers. 108 doc: /* Select a new standard case table for new buffers.
109See `set-case-table' for more info on case tables. */) 109See `set-case-table' for more info on case tables. */)
diff --git a/src/ccl.c b/src/ccl.c
index 14194a70c26..66e0f2c6169 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1929,7 +1929,7 @@ setup_ccl_program (struct ccl_program *ccl, Lisp_Object ccl_prog)
1929} 1929}
1930 1930
1931 1931
1932DEFUE ("ccl-program-p", Fccl_program_p, Sccl_program_p, 1, 1, 0, 1932DEFUN ("ccl-program-p", Fccl_program_p, Sccl_program_p, 1, 1, 0,
1933 doc: /* Return t if OBJECT is a CCL program name or a compiled CCL program code. 1933 doc: /* Return t if OBJECT is a CCL program name or a compiled CCL program code.
1934See the documentation of `define-ccl-program' for the detail of CCL program. */) 1934See the documentation of `define-ccl-program' for the detail of CCL program. */)
1935 (Lisp_Object object) 1935 (Lisp_Object object)
diff --git a/src/character.c b/src/character.c
index e00168c6abc..84eddeb2fc2 100644
--- a/src/character.c
+++ b/src/character.c
@@ -307,7 +307,7 @@ If the multibyte character does not represent a byte, return -1. */)
307 } 307 }
308} 308}
309 309
310DEFUE ("char-width", Fchar_width, Schar_width, 1, 1, 0, 310DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0,
311 doc: /* Return width of CHAR when displayed in the current buffer. 311 doc: /* Return width of CHAR when displayed in the current buffer.
312The width is measured by how many columns it occupies on the screen. 312The width is measured by how many columns it occupies on the screen.
313Tab is taken to occupy `tab-width' columns. 313Tab is taken to occupy `tab-width' columns.
@@ -886,7 +886,7 @@ string_escape_byte8 (Lisp_Object string)
886} 886}
887 887
888 888
889DEFUE ("string", Fstring, Sstring, 0, MANY, 0, 889DEFUN ("string", Fstring, Sstring, 0, MANY, 0,
890 doc: /* 890 doc: /*
891Concatenate all the argument characters and make the result a string. 891Concatenate all the argument characters and make the result a string.
892usage: (string &rest CHARACTERS) */) 892usage: (string &rest CHARACTERS) */)
diff --git a/src/chartab.c b/src/chartab.c
index 2f0e88bd404..eb72d973c87 100644
--- a/src/chartab.c
+++ b/src/chartab.c
@@ -54,7 +54,7 @@ static const int chartab_bits[4] =
54 (((c) - (min_char)) >> chartab_bits[(depth)]) 54 (((c) - (min_char)) >> chartab_bits[(depth)])
55 55
56 56
57DEFUE ("make-char-table", Fmake_char_table, Smake_char_table, 1, 2, 0, 57DEFUN ("make-char-table", Fmake_char_table, Smake_char_table, 1, 2, 0,
58 doc: /* Return a newly created char-table, with purpose PURPOSE. 58 doc: /* Return a newly created char-table, with purpose PURPOSE.
59Each element is initialized to INIT, which defaults to nil. 59Each element is initialized to INIT, which defaults to nil.
60 60
@@ -459,7 +459,7 @@ then the actual applicable value is inherited from the parent char-table
459 return XCHAR_TABLE (char_table)->parent; 459 return XCHAR_TABLE (char_table)->parent;
460} 460}
461 461
462DEFUE ("set-char-table-parent", Fset_char_table_parent, Sset_char_table_parent, 462DEFUN ("set-char-table-parent", Fset_char_table_parent, Sset_char_table_parent,
463 2, 2, 0, 463 2, 2, 0,
464 doc: /* Set the parent char-table of CHAR-TABLE to PARENT. 464 doc: /* Set the parent char-table of CHAR-TABLE to PARENT.
465Return PARENT. PARENT must be either nil or another char-table. */) 465Return PARENT. PARENT must be either nil or another char-table. */)
@@ -483,7 +483,7 @@ Return PARENT. PARENT must be either nil or another char-table. */)
483 return parent; 483 return parent;
484} 484}
485 485
486DEFUE ("char-table-extra-slot", Fchar_table_extra_slot, Schar_table_extra_slot, 486DEFUN ("char-table-extra-slot", Fchar_table_extra_slot, Schar_table_extra_slot,
487 2, 2, 0, 487 2, 2, 0,
488 doc: /* Return the value of CHAR-TABLE's extra-slot number N. */) 488 doc: /* Return the value of CHAR-TABLE's extra-slot number N. */)
489 (Lisp_Object char_table, Lisp_Object n) 489 (Lisp_Object char_table, Lisp_Object n)
@@ -497,7 +497,7 @@ DEFUE ("char-table-extra-slot", Fchar_table_extra_slot, Schar_table_extra_slot,
497 return XCHAR_TABLE (char_table)->extras[XINT (n)]; 497 return XCHAR_TABLE (char_table)->extras[XINT (n)];
498} 498}
499 499
500DEFUE ("set-char-table-extra-slot", Fset_char_table_extra_slot, 500DEFUN ("set-char-table-extra-slot", Fset_char_table_extra_slot,
501 Sset_char_table_extra_slot, 501 Sset_char_table_extra_slot,
502 3, 3, 0, 502 3, 3, 0,
503 doc: /* Set CHAR-TABLE's extra-slot number N to VALUE. */) 503 doc: /* Set CHAR-TABLE's extra-slot number N to VALUE. */)
@@ -541,7 +541,7 @@ a cons of character codes (for characters in the range), or a character code. *
541 return val; 541 return val;
542} 542}
543 543
544DEFUE ("set-char-table-range", Fset_char_table_range, Sset_char_table_range, 544DEFUN ("set-char-table-range", Fset_char_table_range, Sset_char_table_range,
545 3, 3, 0, 545 3, 3, 0,
546 doc: /* Set the value in CHAR-TABLE for a range of characters RANGE to VALUE. 546 doc: /* Set the value in CHAR-TABLE for a range of characters RANGE to VALUE.
547RANGE should be t (for all characters), nil (for the default value), 547RANGE should be t (for all characters), nil (for the default value),
@@ -626,7 +626,7 @@ optimize_sub_char_table (Lisp_Object table, Lisp_Object test)
626 return (optimizable ? elt : table); 626 return (optimizable ? elt : table);
627} 627}
628 628
629DEFUE ("optimize-char-table", Foptimize_char_table, Soptimize_char_table, 629DEFUN ("optimize-char-table", Foptimize_char_table, Soptimize_char_table,
630 1, 2, 0, 630 1, 2, 0,
631 doc: /* Optimize CHAR-TABLE. 631 doc: /* Optimize CHAR-TABLE.
632TEST is the comparison function used to decide whether two entries are 632TEST is the comparison function used to decide whether two entries are
diff --git a/src/cmds.c b/src/cmds.c
index baf14778141..5dc4d2bfe30 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -47,7 +47,7 @@ DEFUN ("forward-point", Fforward_point, Sforward_point, 1, 1, 0,
47 return make_number (PT + XINT (n)); 47 return make_number (PT + XINT (n));
48} 48}
49 49
50DEFUE ("forward-char", Fforward_char, Sforward_char, 0, 1, "^p", 50DEFUN ("forward-char", Fforward_char, Sforward_char, 0, 1, "^p",
51 doc: /* Move point N characters forward (backward if N is negative). 51 doc: /* Move point N characters forward (backward if N is negative).
52On reaching end or beginning of buffer, stop and signal error. 52On reaching end or beginning of buffer, stop and signal error.
53 53
@@ -104,7 +104,7 @@ right or to the left on the screen. This is in contrast with
104 return Fforward_char (n); 104 return Fforward_char (n);
105} 105}
106 106
107DEFUE ("forward-line", Fforward_line, Sforward_line, 0, 1, "^p", 107DEFUN ("forward-line", Fforward_line, Sforward_line, 0, 1, "^p",
108 doc: /* Move N lines forward (backward if N is negative). 108 doc: /* Move N lines forward (backward if N is negative).
109Precisely, if point is on line I, move to the start of line I + N 109Precisely, if point is on line I, move to the start of line I + N
110\("start of line" in the logical order). 110\("start of line" in the logical order).
@@ -174,7 +174,7 @@ instead. For instance, `(forward-line 0)' does the same thing as
174 return Qnil; 174 return Qnil;
175} 175}
176 176
177DEFUE ("end-of-line", Fend_of_line, Send_of_line, 0, 1, "^p", 177DEFUN ("end-of-line", Fend_of_line, Send_of_line, 0, 1, "^p",
178 doc: /* Move point to end of current line (in the logical order). 178 doc: /* Move point to end of current line (in the logical order).
179With argument N not nil or 1, move forward N - 1 lines first. 179With argument N not nil or 1, move forward N - 1 lines first.
180If point reaches the beginning or end of buffer, it stops there. 180If point reaches the beginning or end of buffer, it stops there.
diff --git a/src/coding.c b/src/coding.c
index c29713a5c0c..b49070e5e16 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -7970,7 +7970,7 @@ preferred_coding_system (void)
7970#ifdef emacs 7970#ifdef emacs
7971/*** 8. Emacs Lisp library functions ***/ 7971/*** 8. Emacs Lisp library functions ***/
7972 7972
7973DEFUE ("coding-system-p", Fcoding_system_p, Scoding_system_p, 1, 1, 0, 7973DEFUN ("coding-system-p", Fcoding_system_p, Scoding_system_p, 1, 1, 0,
7974 doc: /* Return t if OBJECT is nil or a coding-system. 7974 doc: /* Return t if OBJECT is nil or a coding-system.
7975See the documentation of `define-coding-system' for information 7975See the documentation of `define-coding-system' for information
7976about coding-system objects. */) 7976about coding-system objects. */)
@@ -7985,7 +7985,7 @@ about coding-system objects. */)
7985 return Qt; 7985 return Qt;
7986} 7986}
7987 7987
7988DEFUE ("read-non-nil-coding-system", Fread_non_nil_coding_system, 7988DEFUN ("read-non-nil-coding-system", Fread_non_nil_coding_system,
7989 Sread_non_nil_coding_system, 1, 1, 0, 7989 Sread_non_nil_coding_system, 1, 1, 0,
7990 doc: /* Read a coding system from the minibuffer, prompting with string PROMPT. */) 7990 doc: /* Read a coding system from the minibuffer, prompting with string PROMPT. */)
7991 (Lisp_Object prompt) 7991 (Lisp_Object prompt)
@@ -8000,7 +8000,7 @@ DEFUE ("read-non-nil-coding-system", Fread_non_nil_coding_system,
8000 return (Fintern (val, Qnil)); 8000 return (Fintern (val, Qnil));
8001} 8001}
8002 8002
8003DEFUE ("read-coding-system", Fread_coding_system, Sread_coding_system, 1, 2, 0, 8003DEFUN ("read-coding-system", Fread_coding_system, Sread_coding_system, 1, 2, 0,
8004 doc: /* Read a coding system from the minibuffer, prompting with string PROMPT. 8004 doc: /* Read a coding system from the minibuffer, prompting with string PROMPT.
8005If the user enters null input, return second argument DEFAULT-CODING-SYSTEM. 8005If the user enters null input, return second argument DEFAULT-CODING-SYSTEM.
8006Ignores case when completing coding systems (all Emacs coding systems 8006Ignores case when completing coding systems (all Emacs coding systems
@@ -8020,7 +8020,7 @@ are lower-case). */)
8020 return (SCHARS (val) == 0 ? Qnil : Fintern (val, Qnil)); 8020 return (SCHARS (val) == 0 ? Qnil : Fintern (val, Qnil));
8021} 8021}
8022 8022
8023DEFUE ("check-coding-system", Fcheck_coding_system, Scheck_coding_system, 8023DEFUN ("check-coding-system", Fcheck_coding_system, Scheck_coding_system,
8024 1, 1, 0, 8024 1, 1, 0,
8025 doc: /* Check validity of CODING-SYSTEM. 8025 doc: /* Check validity of CODING-SYSTEM.
8026If valid, return CODING-SYSTEM, else signal a `coding-system-error' error. 8026If valid, return CODING-SYSTEM, else signal a `coding-system-error' error.
@@ -8955,7 +8955,7 @@ code_convert_string_norecord (Lisp_Object string, Lisp_Object coding_system,
8955} 8955}
8956 8956
8957 8957
8958DEFUE ("decode-coding-string", Fdecode_coding_string, Sdecode_coding_string, 8958DEFUN ("decode-coding-string", Fdecode_coding_string, Sdecode_coding_string,
8959 2, 4, 0, 8959 2, 4, 0,
8960 doc: /* Decode STRING which is encoded in CODING-SYSTEM, and return the result. 8960 doc: /* Decode STRING which is encoded in CODING-SYSTEM, and return the result.
8961 8961
@@ -9229,7 +9229,7 @@ DEFUN ("keyboard-coding-system",
9229} 9229}
9230 9230
9231 9231
9232DEFUE ("find-operation-coding-system", Ffind_operation_coding_system, 9232DEFUN ("find-operation-coding-system", Ffind_operation_coding_system,
9233 Sfind_operation_coding_system, 1, MANY, 0, 9233 Sfind_operation_coding_system, 1, MANY, 0,
9234 doc: /* Choose a coding system for an operation based on the target name. 9234 doc: /* Choose a coding system for an operation based on the target name.
9235The value names a pair of coding systems: (DECODING-SYSTEM . ENCODING-SYSTEM). 9235The value names a pair of coding systems: (DECODING-SYSTEM . ENCODING-SYSTEM).
@@ -10072,7 +10072,7 @@ DEFUN ("define-coding-system-alias", Fdefine_coding_system_alias,
10072 return Qnil; 10072 return Qnil;
10073} 10073}
10074 10074
10075DEFUE ("coding-system-base", Fcoding_system_base, Scoding_system_base, 10075DEFUN ("coding-system-base", Fcoding_system_base, Scoding_system_base,
10076 1, 1, 0, 10076 1, 1, 0,
10077 doc: /* Return the base of CODING-SYSTEM. 10077 doc: /* Return the base of CODING-SYSTEM.
10078Any alias or subsidiary coding system is not a base coding system. */) 10078Any alias or subsidiary coding system is not a base coding system. */)
@@ -10115,7 +10115,7 @@ DEFUN ("coding-system-aliases", Fcoding_system_aliases, Scoding_system_aliases,
10115 return AREF (spec, 1); 10115 return AREF (spec, 1);
10116} 10116}
10117 10117
10118DEFUE ("coding-system-eol-type", Fcoding_system_eol_type, 10118DEFUN ("coding-system-eol-type", Fcoding_system_eol_type,
10119 Scoding_system_eol_type, 1, 1, 0, 10119 Scoding_system_eol_type, 1, 1, 0,
10120 doc: /* Return eol-type of CODING-SYSTEM. 10120 doc: /* Return eol-type of CODING-SYSTEM.
10121An eol-type is an integer 0, 1, 2, or a vector of coding systems. 10121An eol-type is an integer 0, 1, 2, or a vector of coding systems.
diff --git a/src/data.c b/src/data.c
index ca246b60dd4..956ff3700f2 100644
--- a/src/data.c
+++ b/src/data.c
@@ -462,7 +462,7 @@ DEFUN ("floatp", Ffloatp, Sfloatp, 1, 1, 0,
462 462
463/* Extract and set components of lists */ 463/* Extract and set components of lists */
464 464
465DEFUE ("car", Fcar, Scar, 1, 1, 0, 465DEFUN ("car", Fcar, Scar, 1, 1, 0,
466 doc: /* Return the car of LIST. If arg is nil, return nil. 466 doc: /* Return the car of LIST. If arg is nil, return nil.
467Error if arg is not nil and not a cons cell. See also `car-safe'. 467Error if arg is not nil and not a cons cell. See also `car-safe'.
468 468
@@ -473,14 +473,14 @@ Lisp concepts such as car, cdr, cons cell and list. */)
473 return CAR (list); 473 return CAR (list);
474} 474}
475 475
476DEFUE ("car-safe", Fcar_safe, Scar_safe, 1, 1, 0, 476DEFUN ("car-safe", Fcar_safe, Scar_safe, 1, 1, 0,
477 doc: /* Return the car of OBJECT if it is a cons cell, or else nil. */) 477 doc: /* Return the car of OBJECT if it is a cons cell, or else nil. */)
478 (Lisp_Object object) 478 (Lisp_Object object)
479{ 479{
480 return CAR_SAFE (object); 480 return CAR_SAFE (object);
481} 481}
482 482
483DEFUE ("cdr", Fcdr, Scdr, 1, 1, 0, 483DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0,
484 doc: /* Return the cdr of LIST. If arg is nil, return nil. 484 doc: /* Return the cdr of LIST. If arg is nil, return nil.
485Error if arg is not nil and not a cons cell. See also `cdr-safe'. 485Error if arg is not nil and not a cons cell. See also `cdr-safe'.
486 486
@@ -491,14 +491,14 @@ Lisp concepts such as cdr, car, cons cell and list. */)
491 return CDR (list); 491 return CDR (list);
492} 492}
493 493
494DEFUE ("cdr-safe", Fcdr_safe, Scdr_safe, 1, 1, 0, 494DEFUN ("cdr-safe", Fcdr_safe, Scdr_safe, 1, 1, 0,
495 doc: /* Return the cdr of OBJECT if it is a cons cell, or else nil. */) 495 doc: /* Return the cdr of OBJECT if it is a cons cell, or else nil. */)
496 (Lisp_Object object) 496 (Lisp_Object object)
497{ 497{
498 return CDR_SAFE (object); 498 return CDR_SAFE (object);
499} 499}
500 500
501DEFUE ("setcar", Fsetcar, Ssetcar, 2, 2, 0, 501DEFUN ("setcar", Fsetcar, Ssetcar, 2, 2, 0,
502 doc: /* Set the car of CELL to be NEWCAR. Returns NEWCAR. */) 502 doc: /* Set the car of CELL to be NEWCAR. Returns NEWCAR. */)
503 (register Lisp_Object cell, Lisp_Object newcar) 503 (register Lisp_Object cell, Lisp_Object newcar)
504{ 504{
@@ -508,7 +508,7 @@ DEFUE ("setcar", Fsetcar, Ssetcar, 2, 2, 0,
508 return newcar; 508 return newcar;
509} 509}
510 510
511DEFUE ("setcdr", Fsetcdr, Ssetcdr, 2, 2, 0, 511DEFUN ("setcdr", Fsetcdr, Ssetcdr, 2, 2, 0,
512 doc: /* Set the cdr of CELL to be NEWCDR. Returns NEWCDR. */) 512 doc: /* Set the cdr of CELL to be NEWCDR. Returns NEWCDR. */)
513 (register Lisp_Object cell, Lisp_Object newcdr) 513 (register Lisp_Object cell, Lisp_Object newcdr)
514{ 514{
@@ -520,7 +520,7 @@ DEFUE ("setcdr", Fsetcdr, Ssetcdr, 2, 2, 0,
520 520
521/* Extract and set components of symbols */ 521/* Extract and set components of symbols */
522 522
523DEFUE ("boundp", Fboundp, Sboundp, 1, 1, 0, 523DEFUN ("boundp", Fboundp, Sboundp, 1, 1, 0,
524 doc: /* Return t if SYMBOL's value is not void. */) 524 doc: /* Return t if SYMBOL's value is not void. */)
525 (register Lisp_Object symbol) 525 (register Lisp_Object symbol)
526{ 526{
@@ -558,7 +558,7 @@ DEFUE ("boundp", Fboundp, Sboundp, 1, 1, 0,
558 return (EQ (valcontents, Qunbound) ? Qnil : Qt); 558 return (EQ (valcontents, Qunbound) ? Qnil : Qt);
559} 559}
560 560
561DEFUE ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, 561DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
562 doc: /* Return t if SYMBOL's function definition is not void. */) 562 doc: /* Return t if SYMBOL's function definition is not void. */)
563 (register Lisp_Object symbol) 563 (register Lisp_Object symbol)
564{ 564{
@@ -590,7 +590,7 @@ Return SYMBOL. */)
590 return symbol; 590 return symbol;
591} 591}
592 592
593DEFUE ("symbol-function", Fsymbol_function, Ssymbol_function, 1, 1, 0, 593DEFUN ("symbol-function", Fsymbol_function, Ssymbol_function, 1, 1, 0,
594 doc: /* Return SYMBOL's function definition. Error if that is void. */) 594 doc: /* Return SYMBOL's function definition. Error if that is void. */)
595 (register Lisp_Object symbol) 595 (register Lisp_Object symbol)
596{ 596{
@@ -608,7 +608,7 @@ DEFUN ("symbol-plist", Fsymbol_plist, Ssymbol_plist, 1, 1, 0,
608 return XSYMBOL (symbol)->plist; 608 return XSYMBOL (symbol)->plist;
609} 609}
610 610
611DEFUE ("symbol-name", Fsymbol_name, Ssymbol_name, 1, 1, 0, 611DEFUN ("symbol-name", Fsymbol_name, Ssymbol_name, 1, 1, 0,
612 doc: /* Return SYMBOL's name, a string. */) 612 doc: /* Return SYMBOL's name, a string. */)
613 (register Lisp_Object symbol) 613 (register Lisp_Object symbol)
614{ 614{
@@ -619,7 +619,7 @@ DEFUE ("symbol-name", Fsymbol_name, Ssymbol_name, 1, 1, 0,
619 return name; 619 return name;
620} 620}
621 621
622DEFUE ("fset", Ffset, Sfset, 2, 2, 0, 622DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
623 doc: /* Set SYMBOL's function definition to DEFINITION, and return DEFINITION. */) 623 doc: /* Set SYMBOL's function definition to DEFINITION, and return DEFINITION. */)
624 (register Lisp_Object symbol, Lisp_Object definition) 624 (register Lisp_Object symbol, Lisp_Object definition)
625{ 625{
@@ -706,7 +706,7 @@ SUBR must be a built-in function. */)
706 return make_string (name, strlen (name)); 706 return make_string (name, strlen (name));
707} 707}
708 708
709DEFUE ("interactive-form", Finteractive_form, Sinteractive_form, 1, 1, 0, 709DEFUN ("interactive-form", Finteractive_form, Sinteractive_form, 1, 1, 0,
710 doc: /* Return the interactive form of CMD or nil if none. 710 doc: /* Return the interactive form of CMD or nil if none.
711If CMD is not a command, the return value is nil. 711If CMD is not a command, the return value is nil.
712Value, if non-nil, is a list \(interactive SPEC). */) 712Value, if non-nil, is a list \(interactive SPEC). */)
@@ -1049,7 +1049,7 @@ find_symbol_value (Lisp_Object symbol)
1049 } 1049 }
1050} 1050}
1051 1051
1052DEFUE ("symbol-value", Fsymbol_value, Ssymbol_value, 1, 1, 0, 1052DEFUN ("symbol-value", Fsymbol_value, Ssymbol_value, 1, 1, 0,
1053 doc: /* Return SYMBOL's value. Error if that is void. */) 1053 doc: /* Return SYMBOL's value. Error if that is void. */)
1054 (Lisp_Object symbol) 1054 (Lisp_Object symbol)
1055{ 1055{
@@ -1062,7 +1062,7 @@ DEFUE ("symbol-value", Fsymbol_value, Ssymbol_value, 1, 1, 0,
1062 xsignal1 (Qvoid_variable, symbol); 1062 xsignal1 (Qvoid_variable, symbol);
1063} 1063}
1064 1064
1065DEFUE ("set", Fset, Sset, 2, 2, 0, 1065DEFUN ("set", Fset, Sset, 2, 2, 0,
1066 doc: /* Set SYMBOL's value to NEWVAL, and return NEWVAL. */) 1066 doc: /* Set SYMBOL's value to NEWVAL, and return NEWVAL. */)
1067 (register Lisp_Object symbol, Lisp_Object newval) 1067 (register Lisp_Object symbol, Lisp_Object newval)
1068{ 1068{
@@ -1308,7 +1308,7 @@ default_value (Lisp_Object symbol)
1308 } 1308 }
1309} 1309}
1310 1310
1311DEFUE ("default-boundp", Fdefault_boundp, Sdefault_boundp, 1, 1, 0, 1311DEFUN ("default-boundp", Fdefault_boundp, Sdefault_boundp, 1, 1, 0,
1312 doc: /* Return t if SYMBOL has a non-void default value. 1312 doc: /* Return t if SYMBOL has a non-void default value.
1313This is the value that is seen in buffers that do not have their own values 1313This is the value that is seen in buffers that do not have their own values
1314for this variable. */) 1314for this variable. */)
@@ -1320,7 +1320,7 @@ for this variable. */)
1320 return (EQ (value, Qunbound) ? Qnil : Qt); 1320 return (EQ (value, Qunbound) ? Qnil : Qt);
1321} 1321}
1322 1322
1323DEFUE ("default-value", Fdefault_value, Sdefault_value, 1, 1, 0, 1323DEFUN ("default-value", Fdefault_value, Sdefault_value, 1, 1, 0,
1324 doc: /* Return SYMBOL's default value. 1324 doc: /* Return SYMBOL's default value.
1325This is the value that is seen in buffers that do not have their own values 1325This is the value that is seen in buffers that do not have their own values
1326for this variable. The default value is meaningful for variables with 1326for this variable. The default value is meaningful for variables with
@@ -1336,7 +1336,7 @@ local bindings in certain buffers. */)
1336 xsignal1 (Qvoid_variable, symbol); 1336 xsignal1 (Qvoid_variable, symbol);
1337} 1337}
1338 1338
1339DEFUE ("set-default", Fset_default, Sset_default, 2, 2, 0, 1339DEFUN ("set-default", Fset_default, Sset_default, 2, 2, 0,
1340 doc: /* Set SYMBOL's default value to VALUE. SYMBOL and VALUE are evaluated. 1340 doc: /* Set SYMBOL's default value to VALUE. SYMBOL and VALUE are evaluated.
1341The default value is seen in buffers that do not have their own values 1341The default value is seen in buffers that do not have their own values
1342for this variable. */) 1342for this variable. */)
@@ -1479,7 +1479,7 @@ make_blv (struct Lisp_Symbol *sym, int forwarded, union Lisp_Val_Fwd valcontents
1479 return blv; 1479 return blv;
1480} 1480}
1481 1481
1482DEFUE ("make-variable-buffer-local", Fmake_variable_buffer_local, 1482DEFUN ("make-variable-buffer-local", Fmake_variable_buffer_local,
1483 Smake_variable_buffer_local, 1, 1, "vMake Variable Buffer Local: ", 1483 Smake_variable_buffer_local, 1, 1, "vMake Variable Buffer Local: ",
1484 doc: /* Make VARIABLE become buffer-local whenever it is set. 1484 doc: /* Make VARIABLE become buffer-local whenever it is set.
1485At any time, the value for the current buffer is in effect, 1485At any time, the value for the current buffer is in effect,
@@ -1550,7 +1550,7 @@ The function `default-value' gets the default value and `set-default' sets it.
1550 return variable; 1550 return variable;
1551} 1551}
1552 1552
1553DEFUE ("make-local-variable", Fmake_local_variable, Smake_local_variable, 1553DEFUN ("make-local-variable", Fmake_local_variable, Smake_local_variable,
1554 1, 1, "vMake Local Variable: ", 1554 1, 1, "vMake Local Variable: ",
1555 doc: /* Make VARIABLE have a separate value in the current buffer. 1555 doc: /* Make VARIABLE have a separate value in the current buffer.
1556Other buffers will continue to share a common default value. 1556Other buffers will continue to share a common default value.
@@ -1810,7 +1810,7 @@ frame-local bindings). */)
1810 return variable; 1810 return variable;
1811} 1811}
1812 1812
1813DEFUE ("local-variable-p", Flocal_variable_p, Slocal_variable_p, 1813DEFUN ("local-variable-p", Flocal_variable_p, Slocal_variable_p,
1814 1, 2, 0, 1814 1, 2, 0,
1815 doc: /* Non-nil if VARIABLE has a local binding in buffer BUFFER. 1815 doc: /* Non-nil if VARIABLE has a local binding in buffer BUFFER.
1816BUFFER defaults to the current buffer. */) 1816BUFFER defaults to the current buffer. */)
@@ -1955,7 +1955,7 @@ If the current binding is global (the default), the value is nil. */)
1955#if 0 1955#if 0
1956extern struct terminal *get_terminal (Lisp_Object display, int); 1956extern struct terminal *get_terminal (Lisp_Object display, int);
1957 1957
1958DEFUE ("terminal-local-value", Fterminal_local_value, 1958DEFUN ("terminal-local-value", Fterminal_local_value,
1959 Sterminal_local_value, 2, 2, 0, 1959 Sterminal_local_value, 2, 2, 0,
1960 doc: /* Return the terminal-local value of SYMBOL on TERMINAL. 1960 doc: /* Return the terminal-local value of SYMBOL on TERMINAL.
1961If SYMBOL is not a terminal-local variable, then return its normal 1961If SYMBOL is not a terminal-local variable, then return its normal
@@ -1973,7 +1973,7 @@ selected frame's terminal device). */)
1973 return result; 1973 return result;
1974} 1974}
1975 1975
1976DEFUE ("set-terminal-local-value", Fset_terminal_local_value, 1976DEFUN ("set-terminal-local-value", Fset_terminal_local_value,
1977 Sset_terminal_local_value, 3, 3, 0, 1977 Sset_terminal_local_value, 3, 3, 0,
1978 doc: /* Set the terminal-local binding of SYMBOL on TERMINAL to VALUE. 1978 doc: /* Set the terminal-local binding of SYMBOL on TERMINAL to VALUE.
1979If VARIABLE is not a terminal-local variable, then set its normal 1979If VARIABLE is not a terminal-local variable, then set its normal
@@ -2026,7 +2026,7 @@ indirect_function (register Lisp_Object object)
2026 return hare; 2026 return hare;
2027} 2027}
2028 2028
2029DEFUE ("indirect-function", Findirect_function, Sindirect_function, 1, 2, 0, 2029DEFUN ("indirect-function", Findirect_function, Sindirect_function, 1, 2, 0,
2030 doc: /* Return the function at the end of OBJECT's function chain. 2030 doc: /* Return the function at the end of OBJECT's function chain.
2031If OBJECT is not a symbol, just return it. Otherwise, follow all 2031If OBJECT is not a symbol, just return it. Otherwise, follow all
2032function indirections to find the final function binding and return it. 2032function indirections to find the final function binding and return it.
@@ -2054,7 +2054,7 @@ function chain of symbols. */)
2054 2054
2055/* Extract and set vector and string elements */ 2055/* Extract and set vector and string elements */
2056 2056
2057DEFUE ("aref", Faref, Saref, 2, 2, 0, 2057DEFUN ("aref", Faref, Saref, 2, 2, 0,
2058 doc: /* Return the element of ARRAY at index IDX. 2058 doc: /* Return the element of ARRAY at index IDX.
2059ARRAY may be a vector, a string, a char-table, a bool-vector, 2059ARRAY may be a vector, a string, a char-table, a bool-vector,
2060or a byte-code object. IDX starts at 0. */) 2060or a byte-code object. IDX starts at 0. */)
@@ -2109,7 +2109,7 @@ or a byte-code object. IDX starts at 0. */)
2109 } 2109 }
2110} 2110}
2111 2111
2112DEFUE ("aset", Faset, Saset, 3, 3, 0, 2112DEFUN ("aset", Faset, Saset, 3, 3, 0,
2113 doc: /* Store into the element of ARRAY at index IDX the value NEWELT. 2113 doc: /* Store into the element of ARRAY at index IDX the value NEWELT.
2114Return NEWELT. ARRAY may be a vector, a string, a char-table or a 2114Return NEWELT. ARRAY may be a vector, a string, a char-table or a
2115bool-vector. IDX starts at 0. */) 2115bool-vector. IDX starts at 0. */)
@@ -2272,21 +2272,21 @@ DEFUN ("=", Feqlsign, Seqlsign, 2, 2, 0,
2272 return arithcompare (num1, num2, equal); 2272 return arithcompare (num1, num2, equal);
2273} 2273}
2274 2274
2275DEFUE ("<", Flss, Slss, 2, 2, 0, 2275DEFUN ("<", Flss, Slss, 2, 2, 0,
2276 doc: /* Return t if first arg is less than second arg. Both must be numbers or markers. */) 2276 doc: /* Return t if first arg is less than second arg. Both must be numbers or markers. */)
2277 (register Lisp_Object num1, Lisp_Object num2) 2277 (register Lisp_Object num1, Lisp_Object num2)
2278{ 2278{
2279 return arithcompare (num1, num2, less); 2279 return arithcompare (num1, num2, less);
2280} 2280}
2281 2281
2282DEFUE (">", Fgtr, Sgtr, 2, 2, 0, 2282DEFUN (">", Fgtr, Sgtr, 2, 2, 0,
2283 doc: /* Return t if first arg is greater than second arg. Both must be numbers or markers. */) 2283 doc: /* Return t if first arg is greater than second arg. Both must be numbers or markers. */)
2284 (register Lisp_Object num1, Lisp_Object num2) 2284 (register Lisp_Object num1, Lisp_Object num2)
2285{ 2285{
2286 return arithcompare (num1, num2, grtr); 2286 return arithcompare (num1, num2, grtr);
2287} 2287}
2288 2288
2289DEFUE ("<=", Fleq, Sleq, 2, 2, 0, 2289DEFUN ("<=", Fleq, Sleq, 2, 2, 0,
2290 doc: /* Return t if first arg is less than or equal to second arg. 2290 doc: /* Return t if first arg is less than or equal to second arg.
2291Both must be numbers or markers. */) 2291Both must be numbers or markers. */)
2292 (register Lisp_Object num1, Lisp_Object num2) 2292 (register Lisp_Object num1, Lisp_Object num2)
@@ -2294,7 +2294,7 @@ Both must be numbers or markers. */)
2294 return arithcompare (num1, num2, less_or_equal); 2294 return arithcompare (num1, num2, less_or_equal);
2295} 2295}
2296 2296
2297DEFUE (">=", Fgeq, Sgeq, 2, 2, 0, 2297DEFUN (">=", Fgeq, Sgeq, 2, 2, 0,
2298 doc: /* Return t if first arg is greater than or equal to second arg. 2298 doc: /* Return t if first arg is greater than or equal to second arg.
2299Both must be numbers or markers. */) 2299Both must be numbers or markers. */)
2300 (register Lisp_Object num1, Lisp_Object num2) 2300 (register Lisp_Object num1, Lisp_Object num2)
@@ -2309,7 +2309,7 @@ DEFUN ("/=", Fneq, Sneq, 2, 2, 0,
2309 return arithcompare (num1, num2, notequal); 2309 return arithcompare (num1, num2, notequal);
2310} 2310}
2311 2311
2312DEFUE ("zerop", Fzerop, Szerop, 1, 1, 0, 2312DEFUN ("zerop", Fzerop, Szerop, 1, 1, 0,
2313 doc: /* Return t if NUMBER is zero. */) 2313 doc: /* Return t if NUMBER is zero. */)
2314 (register Lisp_Object number) 2314 (register Lisp_Object number)
2315{ 2315{
@@ -2356,7 +2356,7 @@ cons_to_long (Lisp_Object c)
2356 return ((XINT (top) << 16) | XINT (bot)); 2356 return ((XINT (top) << 16) | XINT (bot));
2357} 2357}
2358 2358
2359DEFUE ("number-to-string", Fnumber_to_string, Snumber_to_string, 1, 1, 0, 2359DEFUN ("number-to-string", Fnumber_to_string, Snumber_to_string, 1, 1, 0,
2360 doc: /* Return the decimal representation of NUMBER as a string. 2360 doc: /* Return the decimal representation of NUMBER as a string.
2361Uses a minus sign if negative. 2361Uses a minus sign if negative.
2362NUMBER may be an integer or a floating point number. */) 2362NUMBER may be an integer or a floating point number. */)
@@ -2403,7 +2403,7 @@ digit_to_number (int character, int base)
2403 return digit; 2403 return digit;
2404} 2404}
2405 2405
2406DEFUE ("string-to-number", Fstring_to_number, Sstring_to_number, 1, 2, 0, 2406DEFUN ("string-to-number", Fstring_to_number, Sstring_to_number, 1, 2, 0,
2407 doc: /* Parse STRING as a decimal number and return the number. 2407 doc: /* Parse STRING as a decimal number and return the number.
2408This parses both integers and floating point numbers. 2408This parses both integers and floating point numbers.
2409It ignores leading spaces and tabs, and all trailing chars. 2409It ignores leading spaces and tabs, and all trailing chars.
@@ -2626,7 +2626,7 @@ float_arith_driver (double accum, register size_t argnum, enum arithop code,
2626} 2626}
2627 2627
2628 2628
2629DEFUE ("+", Fplus, Splus, 0, MANY, 0, 2629DEFUN ("+", Fplus, Splus, 0, MANY, 0,
2630 doc: /* Return sum of any number of arguments, which are numbers or markers. 2630 doc: /* Return sum of any number of arguments, which are numbers or markers.
2631usage: (+ &rest NUMBERS-OR-MARKERS) */) 2631usage: (+ &rest NUMBERS-OR-MARKERS) */)
2632 (size_t nargs, Lisp_Object *args) 2632 (size_t nargs, Lisp_Object *args)
@@ -2634,7 +2634,7 @@ usage: (+ &rest NUMBERS-OR-MARKERS) */)
2634 return arith_driver (Aadd, nargs, args); 2634 return arith_driver (Aadd, nargs, args);
2635} 2635}
2636 2636
2637DEFUE ("-", Fminus, Sminus, 0, MANY, 0, 2637DEFUN ("-", Fminus, Sminus, 0, MANY, 0,
2638 doc: /* Negate number or subtract numbers or markers and return the result. 2638 doc: /* Negate number or subtract numbers or markers and return the result.
2639With one arg, negates it. With more than one arg, 2639With one arg, negates it. With more than one arg,
2640subtracts all but the first from the first. 2640subtracts all but the first from the first.
@@ -2644,7 +2644,7 @@ usage: (- &optional NUMBER-OR-MARKER &rest MORE-NUMBERS-OR-MARKERS) */)
2644 return arith_driver (Asub, nargs, args); 2644 return arith_driver (Asub, nargs, args);
2645} 2645}
2646 2646
2647DEFUE ("*", Ftimes, Stimes, 0, MANY, 0, 2647DEFUN ("*", Ftimes, Stimes, 0, MANY, 0,
2648 doc: /* Return product of any number of arguments, which are numbers or markers. 2648 doc: /* Return product of any number of arguments, which are numbers or markers.
2649usage: (* &rest NUMBERS-OR-MARKERS) */) 2649usage: (* &rest NUMBERS-OR-MARKERS) */)
2650 (size_t nargs, Lisp_Object *args) 2650 (size_t nargs, Lisp_Object *args)
@@ -2652,7 +2652,7 @@ usage: (* &rest NUMBERS-OR-MARKERS) */)
2652 return arith_driver (Amult, nargs, args); 2652 return arith_driver (Amult, nargs, args);
2653} 2653}
2654 2654
2655DEFUE ("/", Fquo, Squo, 2, MANY, 0, 2655DEFUN ("/", Fquo, Squo, 2, MANY, 0,
2656 doc: /* Return first argument divided by all the remaining arguments. 2656 doc: /* Return first argument divided by all the remaining arguments.
2657The arguments must be numbers or markers. 2657The arguments must be numbers or markers.
2658usage: (/ DIVIDEND DIVISOR &rest DIVISORS) */) 2658usage: (/ DIVIDEND DIVISOR &rest DIVISORS) */)
@@ -2665,7 +2665,7 @@ usage: (/ DIVIDEND DIVISOR &rest DIVISORS) */)
2665 return arith_driver (Adiv, nargs, args); 2665 return arith_driver (Adiv, nargs, args);
2666} 2666}
2667 2667
2668DEFUE ("%", Frem, Srem, 2, 2, 0, 2668DEFUN ("%", Frem, Srem, 2, 2, 0,
2669 doc: /* Return remainder of X divided by Y. 2669 doc: /* Return remainder of X divided by Y.
2670Both must be integers or markers. */) 2670Both must be integers or markers. */)
2671 (register Lisp_Object x, Lisp_Object y) 2671 (register Lisp_Object x, Lisp_Object y)
@@ -2736,7 +2736,7 @@ Both X and Y must be numbers or markers. */)
2736 return val; 2736 return val;
2737} 2737}
2738 2738
2739DEFUE ("max", Fmax, Smax, 1, MANY, 0, 2739DEFUN ("max", Fmax, Smax, 1, MANY, 0,
2740 doc: /* Return largest of all the arguments (which must be numbers or markers). 2740 doc: /* Return largest of all the arguments (which must be numbers or markers).
2741The value is always a number; markers are converted to numbers. 2741The value is always a number; markers are converted to numbers.
2742usage: (max NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS) */) 2742usage: (max NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS) */)
@@ -2745,7 +2745,7 @@ usage: (max NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS) */)
2745 return arith_driver (Amax, nargs, args); 2745 return arith_driver (Amax, nargs, args);
2746} 2746}
2747 2747
2748DEFUE ("min", Fmin, Smin, 1, MANY, 0, 2748DEFUN ("min", Fmin, Smin, 1, MANY, 0,
2749 doc: /* Return smallest of all the arguments (which must be numbers or markers). 2749 doc: /* Return smallest of all the arguments (which must be numbers or markers).
2750The value is always a number; markers are converted to numbers. 2750The value is always a number; markers are converted to numbers.
2751usage: (min NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS) */) 2751usage: (min NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS) */)
@@ -2825,7 +2825,7 @@ In this case, zeros are shifted in on the left. */)
2825 return val; 2825 return val;
2826} 2826}
2827 2827
2828DEFUE ("1+", Fadd1, Sadd1, 1, 1, 0, 2828DEFUN ("1+", Fadd1, Sadd1, 1, 1, 0,
2829 doc: /* Return NUMBER plus one. NUMBER may be a number or a marker. 2829 doc: /* Return NUMBER plus one. NUMBER may be a number or a marker.
2830Markers are converted to integers. */) 2830Markers are converted to integers. */)
2831 (register Lisp_Object number) 2831 (register Lisp_Object number)
@@ -2839,7 +2839,7 @@ Markers are converted to integers. */)
2839 return number; 2839 return number;
2840} 2840}
2841 2841
2842DEFUE ("1-", Fsub1, Ssub1, 1, 1, 0, 2842DEFUN ("1-", Fsub1, Ssub1, 1, 1, 0,
2843 doc: /* Return NUMBER minus one. NUMBER may be a number or a marker. 2843 doc: /* Return NUMBER minus one. NUMBER may be a number or a marker.
2844Markers are converted to integers. */) 2844Markers are converted to integers. */)
2845 (register Lisp_Object number) 2845 (register Lisp_Object number)
@@ -2862,7 +2862,7 @@ DEFUN ("lognot", Flognot, Slognot, 1, 1, 0,
2862 return number; 2862 return number;
2863} 2863}
2864 2864
2865DEFUE ("byteorder", Fbyteorder, Sbyteorder, 0, 0, 0, 2865DEFUN ("byteorder", Fbyteorder, Sbyteorder, 0, 0, 0,
2866 doc: /* Return the byteorder for the machine. 2866 doc: /* Return the byteorder for the machine.
2867Returns 66 (ASCII uppercase B) for big endian machines or 108 (ASCII 2867Returns 66 (ASCII uppercase B) for big endian machines or 108 (ASCII
2868lowercase l) for small endian machines. */) 2868lowercase l) for small endian machines. */)
diff --git a/src/dispnew.c b/src/dispnew.c
index 78bd4bf6590..5b8eaf4fa34 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -339,7 +339,7 @@ add_frame_display_history (struct frame *f, int paused_p)
339} 339}
340 340
341 341
342DEFUE ("dump-redisplay-history", Fdump_redisplay_history, 342DEFUN ("dump-redisplay-history", Fdump_redisplay_history,
343 Sdump_redisplay_history, 0, 0, "", 343 Sdump_redisplay_history, 0, 0, "",
344 doc: /* Dump redisplay history to stderr. */) 344 doc: /* Dump redisplay history to stderr. */)
345 (void) 345 (void)
@@ -3141,7 +3141,7 @@ window_to_frame_hpos (struct window *w, int hpos)
3141 Redrawing Frames 3141 Redrawing Frames
3142 **********************************************************************/ 3142 **********************************************************************/
3143 3143
3144DEFUE ("redraw-frame", Fredraw_frame, Sredraw_frame, 1, 1, 0, 3144DEFUN ("redraw-frame", Fredraw_frame, Sredraw_frame, 1, 1, 0,
3145 doc: /* Clear frame FRAME and output again what is supposed to appear on it. */) 3145 doc: /* Clear frame FRAME and output again what is supposed to appear on it. */)
3146 (Lisp_Object frame) 3146 (Lisp_Object frame)
3147{ 3147{
@@ -5865,7 +5865,7 @@ when TERMINAL is nil. */)
5865} 5865}
5866 5866
5867 5867
5868DEFUE ("ding", Fding, Sding, 0, 1, 0, 5868DEFUN ("ding", Fding, Sding, 0, 1, 0,
5869 doc: /* Beep, or flash the screen. 5869 doc: /* Beep, or flash the screen.
5870Also, unless an argument is given, 5870Also, unless an argument is given,
5871terminate any keyboard macro currently executing. */) 5871terminate any keyboard macro currently executing. */)
@@ -5901,7 +5901,7 @@ bitch_at_user (void)
5901 Sleeping, Waiting 5901 Sleeping, Waiting
5902 ***********************************************************************/ 5902 ***********************************************************************/
5903 5903
5904DEFUE ("sleep-for", Fsleep_for, Ssleep_for, 1, 2, 0, 5904DEFUN ("sleep-for", Fsleep_for, Ssleep_for, 1, 2, 0,
5905 doc: /* Pause, without updating display, for SECONDS seconds. 5905 doc: /* Pause, without updating display, for SECONDS seconds.
5906SECONDS may be a floating-point value, meaning that you can wait for a 5906SECONDS may be a floating-point value, meaning that you can wait for a
5907fraction of a second. Optional second arg MILLISECONDS specifies an 5907fraction of a second. Optional second arg MILLISECONDS specifies an
@@ -6007,7 +6007,7 @@ sit_for (Lisp_Object timeout, int reading, int do_display)
6007} 6007}
6008 6008
6009 6009
6010DEFUE ("redisplay", Fredisplay, Sredisplay, 0, 1, 0, 6010DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0,
6011 doc: /* Perform redisplay if no input is available. 6011 doc: /* Perform redisplay if no input is available.
6012If optional arg FORCE is non-nil or `redisplay-dont-pause' is non-nil, 6012If optional arg FORCE is non-nil or `redisplay-dont-pause' is non-nil,
6013perform a full redisplay even if input is available. 6013perform a full redisplay even if input is available.
diff --git a/src/doc.c b/src/doc.c
index b6939ad78f6..a793011990f 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -681,7 +681,7 @@ the same file name is found in the `doc-directory'. */)
681 return Qnil; 681 return Qnil;
682} 682}
683 683
684DEFUE ("substitute-command-keys", Fsubstitute_command_keys, 684DEFUN ("substitute-command-keys", Fsubstitute_command_keys,
685 Ssubstitute_command_keys, 1, 1, 0, 685 Ssubstitute_command_keys, 1, 1, 0,
686 doc: /* Substitute key descriptions for command names in STRING. 686 doc: /* Substitute key descriptions for command names in STRING.
687Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke 687Substrings of the form \\=\\[COMMAND] replaced by either: a keystroke
diff --git a/src/editfns.c b/src/editfns.c
index ce77d10cb2f..30974e0b50e 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -185,7 +185,7 @@ init_editfns (void)
185#endif 185#endif
186} 186}
187 187
188DEFUE ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0, 188DEFUN ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0,
189 doc: /* Convert arg CHAR to a string containing that character. 189 doc: /* Convert arg CHAR to a string containing that character.
190usage: (char-to-string CHAR) */) 190usage: (char-to-string CHAR) */)
191 (Lisp_Object character) 191 (Lisp_Object character)
@@ -239,7 +239,7 @@ buildmark (EMACS_INT charpos, EMACS_INT bytepos)
239 return mark; 239 return mark;
240} 240}
241 241
242DEFUE ("point", Fpoint, Spoint, 0, 0, 0, 242DEFUN ("point", Fpoint, Spoint, 0, 0, 0,
243 doc: /* Return value of point, as an integer. 243 doc: /* Return value of point, as an integer.
244Beginning of buffer is position (point-min). */) 244Beginning of buffer is position (point-min). */)
245 (void) 245 (void)
@@ -249,7 +249,7 @@ Beginning of buffer is position (point-min). */)
249 return temp; 249 return temp;
250} 250}
251 251
252DEFUE ("point-marker", Fpoint_marker, Spoint_marker, 0, 0, 0, 252DEFUN ("point-marker", Fpoint_marker, Spoint_marker, 0, 0, 0,
253 doc: /* Return value of point, as a marker object. */) 253 doc: /* Return value of point, as a marker object. */)
254 (void) 254 (void)
255{ 255{
@@ -267,7 +267,7 @@ clip_to_bounds (EMACS_INT lower, EMACS_INT num, EMACS_INT upper)
267 return num; 267 return num;
268} 268}
269 269
270DEFUE ("goto-char", Fgoto_char, Sgoto_char, 1, 1, "NGoto char: ", 270DEFUN ("goto-char", Fgoto_char, Sgoto_char, 1, 1, "NGoto char: ",
271 doc: /* Set point to POSITION, a number or marker. 271 doc: /* Set point to POSITION, a number or marker.
272Beginning of buffer is position (point-min), end is (point-max). 272Beginning of buffer is position (point-min), end is (point-max).
273 273
@@ -663,7 +663,7 @@ is before LIMIT, then LIMIT will be returned instead. */)
663 return make_number (beg); 663 return make_number (beg);
664} 664}
665 665
666DEFUE ("field-end", Ffield_end, Sfield_end, 0, 3, 0, 666DEFUN ("field-end", Ffield_end, Sfield_end, 0, 3, 0,
667 doc: /* Return the end of the field surrounding POS. 667 doc: /* Return the end of the field surrounding POS.
668A field is a region of text with the same `field' property. 668A field is a region of text with the same `field' property.
669If POS is nil, the value of point is used for POS. 669If POS is nil, the value of point is used for POS.
@@ -678,7 +678,7 @@ is after LIMIT, then LIMIT will be returned instead. */)
678 return make_number (end); 678 return make_number (end);
679} 679}
680 680
681DEFUE ("constrain-to-field", Fconstrain_to_field, Sconstrain_to_field, 2, 5, 0, 681DEFUN ("constrain-to-field", Fconstrain_to_field, Sconstrain_to_field, 2, 5, 0,
682 doc: /* Return the position closest to NEW-POS that is in the same field as OLD-POS. 682 doc: /* Return the position closest to NEW-POS that is in the same field as OLD-POS.
683 683
684A field is a region of text with the same `field' property. 684A field is a region of text with the same `field' property.
@@ -787,7 +787,7 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */)
787} 787}
788 788
789 789
790DEFUE ("line-beginning-position", 790DEFUN ("line-beginning-position",
791 Fline_beginning_position, Sline_beginning_position, 0, 1, 0, 791 Fline_beginning_position, Sline_beginning_position, 0, 1, 0,
792 doc: /* Return the character position of the first character on the current line. 792 doc: /* Return the character position of the first character on the current line.
793With argument N not nil or 1, move forward N - 1 lines first. 793With argument N not nil or 1, move forward N - 1 lines first.
@@ -829,7 +829,7 @@ This function does not move point. */)
829 Qt, Qnil); 829 Qt, Qnil);
830} 830}
831 831
832DEFUE ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0, 832DEFUN ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0,
833 doc: /* Return the character position of the last character on the current line. 833 doc: /* Return the character position of the last character on the current line.
834With argument N not nil or 1, move forward N - 1 lines first. 834With argument N not nil or 1, move forward N - 1 lines first.
835If scan reaches end of buffer, return that position. 835If scan reaches end of buffer, return that position.
@@ -1048,7 +1048,7 @@ is in effect, in which case it is less. */)
1048 return temp; 1048 return temp;
1049} 1049}
1050 1050
1051DEFUE ("point-max-marker", Fpoint_max_marker, Spoint_max_marker, 0, 0, 0, 1051DEFUN ("point-max-marker", Fpoint_max_marker, Spoint_max_marker, 0, 0, 0,
1052 doc: /* Return a marker to the maximum permissible value of point in this buffer. 1052 doc: /* Return a marker to the maximum permissible value of point in this buffer.
1053This is (1+ (buffer-size)), unless narrowing (a buffer restriction) 1053This is (1+ (buffer-size)), unless narrowing (a buffer restriction)
1054is in effect, in which case it is less. */) 1054is in effect, in which case it is less. */)
@@ -1099,7 +1099,7 @@ If BYTEPOS is out of range, the value is nil. */)
1099 return make_number (BYTE_TO_CHAR (XINT (bytepos))); 1099 return make_number (BYTE_TO_CHAR (XINT (bytepos)));
1100} 1100}
1101 1101
1102DEFUE ("following-char", Ffollowing_char, Sfollowing_char, 0, 0, 0, 1102DEFUN ("following-char", Ffollowing_char, Sfollowing_char, 0, 0, 0,
1103 doc: /* Return the character following point, as a number. 1103 doc: /* Return the character following point, as a number.
1104At the end of the buffer or accessible region, return 0. */) 1104At the end of the buffer or accessible region, return 0. */)
1105 (void) 1105 (void)
@@ -1112,7 +1112,7 @@ At the end of the buffer or accessible region, return 0. */)
1112 return temp; 1112 return temp;
1113} 1113}
1114 1114
1115DEFUE ("preceding-char", Fprevious_char, Sprevious_char, 0, 0, 0, 1115DEFUN ("preceding-char", Fprevious_char, Sprevious_char, 0, 0, 0,
1116 doc: /* Return the character preceding point, as a number. 1116 doc: /* Return the character preceding point, as a number.
1117At the beginning of the buffer or accessible region, return 0. */) 1117At the beginning of the buffer or accessible region, return 0. */)
1118 (void) 1118 (void)
@@ -1131,7 +1131,7 @@ At the beginning of the buffer or accessible region, return 0. */)
1131 return temp; 1131 return temp;
1132} 1132}
1133 1133
1134DEFUE ("bobp", Fbobp, Sbobp, 0, 0, 0, 1134DEFUN ("bobp", Fbobp, Sbobp, 0, 0, 0,
1135 doc: /* Return t if point is at the beginning of the buffer. 1135 doc: /* Return t if point is at the beginning of the buffer.
1136If the buffer is narrowed, this means the beginning of the narrowed part. */) 1136If the buffer is narrowed, this means the beginning of the narrowed part. */)
1137 (void) 1137 (void)
@@ -1141,7 +1141,7 @@ If the buffer is narrowed, this means the beginning of the narrowed part. */)
1141 return Qnil; 1141 return Qnil;
1142} 1142}
1143 1143
1144DEFUE ("eobp", Feobp, Seobp, 0, 0, 0, 1144DEFUN ("eobp", Feobp, Seobp, 0, 0, 0,
1145 doc: /* Return t if point is at the end of the buffer. 1145 doc: /* Return t if point is at the end of the buffer.
1146If the buffer is narrowed, this means the end of the narrowed part. */) 1146If the buffer is narrowed, this means the end of the narrowed part. */)
1147 (void) 1147 (void)
@@ -1151,7 +1151,7 @@ If the buffer is narrowed, this means the end of the narrowed part. */)
1151 return Qnil; 1151 return Qnil;
1152} 1152}
1153 1153
1154DEFUE ("bolp", Fbolp, Sbolp, 0, 0, 0, 1154DEFUN ("bolp", Fbolp, Sbolp, 0, 0, 0,
1155 doc: /* Return t if point is at the beginning of a line. */) 1155 doc: /* Return t if point is at the beginning of a line. */)
1156 (void) 1156 (void)
1157{ 1157{
@@ -1160,7 +1160,7 @@ DEFUE ("bolp", Fbolp, Sbolp, 0, 0, 0,
1160 return Qnil; 1160 return Qnil;
1161} 1161}
1162 1162
1163DEFUE ("eolp", Feolp, Seolp, 0, 0, 0, 1163DEFUN ("eolp", Feolp, Seolp, 0, 0, 0,
1164 doc: /* Return t if point is at the end of a line. 1164 doc: /* Return t if point is at the end of a line.
1165`End of a line' includes point being at the end of the buffer. */) 1165`End of a line' includes point being at the end of the buffer. */)
1166 (void) 1166 (void)
@@ -1170,7 +1170,7 @@ DEFUE ("eolp", Feolp, Seolp, 0, 0, 0,
1170 return Qnil; 1170 return Qnil;
1171} 1171}
1172 1172
1173DEFUE ("char-after", Fchar_after, Schar_after, 0, 1, 0, 1173DEFUN ("char-after", Fchar_after, Schar_after, 0, 1, 0,
1174 doc: /* Return character in current buffer at position POS. 1174 doc: /* Return character in current buffer at position POS.
1175POS is an integer or a marker and defaults to point. 1175POS is an integer or a marker and defaults to point.
1176If POS is out of range, the value is nil. */) 1176If POS is out of range, the value is nil. */)
@@ -1247,7 +1247,7 @@ If POS is out of range, the value is nil. */)
1247 return val; 1247 return val;
1248} 1248}
1249 1249
1250DEFUE ("user-login-name", Fuser_login_name, Suser_login_name, 0, 1, 0, 1250DEFUN ("user-login-name", Fuser_login_name, Suser_login_name, 0, 1, 0,
1251 doc: /* Return the name under which the user logged in, as a string. 1251 doc: /* Return the name under which the user logged in, as a string.
1252This is based on the effective uid, not the real uid. 1252This is based on the effective uid, not the real uid.
1253Also, if the environment variables LOGNAME or USER are set, 1253Also, if the environment variables LOGNAME or USER are set,
@@ -1387,7 +1387,7 @@ name, or nil if there is no such user. */)
1387 return full; 1387 return full;
1388} 1388}
1389 1389
1390DEFUE ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0, 1390DEFUN ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0,
1391 doc: /* Return the host name of the machine you are running on, as a string. */) 1391 doc: /* Return the host name of the machine you are running on, as a string. */)
1392 (void) 1392 (void)
1393{ 1393{
@@ -1453,7 +1453,7 @@ lo_time (time_t t)
1453 return t & ((1 << 16) - 1); 1453 return t & ((1 << 16) - 1);
1454} 1454}
1455 1455
1456DEFUE ("current-time", Fcurrent_time, Scurrent_time, 0, 0, 0, 1456DEFUN ("current-time", Fcurrent_time, Scurrent_time, 0, 0, 0,
1457 doc: /* Return the current time, as the number of seconds since 1970-01-01 00:00:00. 1457 doc: /* Return the current time, as the number of seconds since 1970-01-01 00:00:00.
1458The time is returned as a list of three integers. The first has the 1458The time is returned as a list of three integers. The first has the
1459most significant 16 bits of the seconds, while the second has the 1459most significant 16 bits of the seconds, while the second has the
@@ -1472,7 +1472,7 @@ resolution finer than a second. */)
1472 make_number (EMACS_USECS (t))); 1472 make_number (EMACS_USECS (t)));
1473} 1473}
1474 1474
1475DEFUE ("get-internal-run-time", Fget_internal_run_time, Sget_internal_run_time, 1475DEFUN ("get-internal-run-time", Fget_internal_run_time, Sget_internal_run_time,
1476 0, 0, 0, 1476 0, 0, 0,
1477 doc: /* Return the current run time used by Emacs. 1477 doc: /* Return the current run time used by Emacs.
1478The time is returned as a list of three integers. The first has the 1478The time is returned as a list of three integers. The first has the
@@ -2246,7 +2246,7 @@ insert1 (Lisp_Object arg)
2246 not be used after calling insert or insert_from_string, so 2246 not be used after calling insert or insert_from_string, so
2247 we don't care if it gets trashed. */ 2247 we don't care if it gets trashed. */
2248 2248
2249DEFUE ("insert", Finsert, Sinsert, 0, MANY, 0, 2249DEFUN ("insert", Finsert, Sinsert, 0, MANY, 0,
2250 doc: /* Insert the arguments, either strings or characters, at point. 2250 doc: /* Insert the arguments, either strings or characters, at point.
2251Point and before-insertion markers move forward to end up 2251Point and before-insertion markers move forward to end up
2252 after the inserted text. 2252 after the inserted text.
@@ -2326,7 +2326,7 @@ usage: (insert-before-markers-and-inherit &rest ARGS) */)
2326 return Qnil; 2326 return Qnil;
2327} 2327}
2328 2328
2329DEFUE ("insert-char", Finsert_char, Sinsert_char, 2, 3, 0, 2329DEFUN ("insert-char", Finsert_char, Sinsert_char, 2, 3, 0,
2330 doc: /* Insert COUNT copies of CHARACTER. 2330 doc: /* Insert COUNT copies of CHARACTER.
2331Point, and before-insertion markers, are relocated as in the function `insert'. 2331Point, and before-insertion markers, are relocated as in the function `insert'.
2332The optional third arg INHERIT, if non-nil, says to inherit text properties 2332The optional third arg INHERIT, if non-nil, says to inherit text properties
@@ -2500,7 +2500,7 @@ update_buffer_properties (EMACS_INT start, EMACS_INT end)
2500 } 2500 }
2501} 2501}
2502 2502
2503DEFUE ("buffer-substring", Fbuffer_substring, Sbuffer_substring, 2, 2, 0, 2503DEFUN ("buffer-substring", Fbuffer_substring, Sbuffer_substring, 2, 2, 0,
2504 doc: /* Return the contents of part of the current buffer as a string. 2504 doc: /* Return the contents of part of the current buffer as a string.
2505The two arguments START and END are character positions; 2505The two arguments START and END are character positions;
2506they can be in either order. 2506they can be in either order.
@@ -2536,7 +2536,7 @@ they can be in either order. */)
2536 return make_buffer_string (b, e, 0); 2536 return make_buffer_string (b, e, 0);
2537} 2537}
2538 2538
2539DEFUE ("buffer-string", Fbuffer_string, Sbuffer_string, 0, 0, 0, 2539DEFUN ("buffer-string", Fbuffer_string, Sbuffer_string, 0, 0, 0,
2540 doc: /* Return the contents of the current buffer as a string. 2540 doc: /* Return the contents of the current buffer as a string.
2541If narrowing is in effect, this function returns only the visible part 2541If narrowing is in effect, this function returns only the visible part
2542of the buffer. */) 2542of the buffer. */)
@@ -3174,7 +3174,7 @@ It returns the number of characters changed. */)
3174 return make_number (cnt); 3174 return make_number (cnt);
3175} 3175}
3176 3176
3177DEFUE ("delete-region", Fdelete_region, Sdelete_region, 2, 2, "r", 3177DEFUN ("delete-region", Fdelete_region, Sdelete_region, 2, 2, "r",
3178 doc: /* Delete the text between point and mark. 3178 doc: /* Delete the text between point and mark.
3179 3179
3180When called from a program, expects two arguments, 3180When called from a program, expects two arguments,
@@ -3197,7 +3197,7 @@ DEFUN ("delete-and-extract-region", Fdelete_and_extract_region,
3197 return del_range_1 (XINT (start), XINT (end), 1, 1); 3197 return del_range_1 (XINT (start), XINT (end), 1, 1);
3198} 3198}
3199 3199
3200DEFUE ("widen", Fwiden, Swiden, 0, 0, "", 3200DEFUN ("widen", Fwiden, Swiden, 0, 0, "",
3201 doc: /* Remove restrictions (narrowing) from current buffer. 3201 doc: /* Remove restrictions (narrowing) from current buffer.
3202This allows the buffer's full text to be seen and edited. */) 3202This allows the buffer's full text to be seen and edited. */)
3203 (void) 3203 (void)
@@ -3212,7 +3212,7 @@ This allows the buffer's full text to be seen and edited. */)
3212 return Qnil; 3212 return Qnil;
3213} 3213}
3214 3214
3215DEFUE ("narrow-to-region", Fnarrow_to_region, Snarrow_to_region, 2, 2, "r", 3215DEFUN ("narrow-to-region", Fnarrow_to_region, Snarrow_to_region, 2, 2, "r",
3216 doc: /* Restrict editing in this buffer to the current region. 3216 doc: /* Restrict editing in this buffer to the current region.
3217The rest of the text becomes temporarily invisible and untouchable 3217The rest of the text becomes temporarily invisible and untouchable
3218but is not deleted; if you save the buffer in a file, the invisible 3218but is not deleted; if you save the buffer in a file, the invisible
@@ -3373,7 +3373,7 @@ static char *message_text;
3373/* Allocated length of that buffer. */ 3373/* Allocated length of that buffer. */
3374static int message_length; 3374static int message_length;
3375 3375
3376DEFUE ("message", Fmessage, Smessage, 1, MANY, 0, 3376DEFUN ("message", Fmessage, Smessage, 1, MANY, 0,
3377 doc: /* Display a message at the bottom of the screen. 3377 doc: /* Display a message at the bottom of the screen.
3378The message also goes into the `*Messages*' buffer. 3378The message also goes into the `*Messages*' buffer.
3379\(In keyboard macros, that's all it does.) 3379\(In keyboard macros, that's all it does.)
@@ -3485,7 +3485,7 @@ usage: (message-or-box FORMAT-STRING &rest ARGS) */)
3485 return Fmessage (nargs, args); 3485 return Fmessage (nargs, args);
3486} 3486}
3487 3487
3488DEFUE ("current-message", Fcurrent_message, Scurrent_message, 0, 0, 0, 3488DEFUN ("current-message", Fcurrent_message, Scurrent_message, 0, 0, 0,
3489 doc: /* Return the string currently displayed in the echo area, or nil if none. */) 3489 doc: /* Return the string currently displayed in the echo area, or nil if none. */)
3490 (void) 3490 (void)
3491{ 3491{
@@ -3534,7 +3534,7 @@ usage: (propertize STRING &rest PROPERTIES) */)
3534 ? count_size_as_multibyte (SDATA (STRING), SBYTES (STRING)) \ 3534 ? count_size_as_multibyte (SDATA (STRING), SBYTES (STRING)) \
3535 : SBYTES (STRING)) 3535 : SBYTES (STRING))
3536 3536
3537DEFUE ("format", Fformat, Sformat, 1, MANY, 0, 3537DEFUN ("format", Fformat, Sformat, 1, MANY, 0,
3538 doc: /* Format a string out of a format-string and arguments. 3538 doc: /* Format a string out of a format-string and arguments.
3539The first argument is a format control string. 3539The first argument is a format control string.
3540The other arguments are substituted into it to make the result, a string. 3540The other arguments are substituted into it to make the result, a string.
diff --git a/src/emacs.c b/src/emacs.c
index a3277109f01..cccd07417e1 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1962,7 +1962,7 @@ sort_args (int argc, char **argv)
1962 xfree (priority); 1962 xfree (priority);
1963} 1963}
1964 1964
1965DEFUE ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P", 1965DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P",
1966 doc: /* Exit the Emacs job and kill it. 1966 doc: /* Exit the Emacs job and kill it.
1967If ARG is an integer, return ARG as the exit program code. 1967If ARG is an integer, return ARG as the exit program code.
1968If ARG is a string, stuff it as keyboard input. 1968If ARG is a string, stuff it as keyboard input.
diff --git a/src/eval.c b/src/eval.c
index ef5eb6bdaaf..4d0786fc0d4 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -356,7 +356,7 @@ usage: (cond CLAUSES...) */)
356 return val; 356 return val;
357} 357}
358 358
359DEFUE ("progn", Fprogn, Sprogn, 0, UNEVALLED, 0, 359DEFUN ("progn", Fprogn, Sprogn, 0, UNEVALLED, 0,
360 doc: /* Eval BODY forms sequentially and return value of last one. 360 doc: /* Eval BODY forms sequentially and return value of last one.
361usage: (progn BODY...) */) 361usage: (progn BODY...) */)
362 (Lisp_Object args) 362 (Lisp_Object args)
@@ -521,7 +521,7 @@ usage: (function ARG) */)
521} 521}
522 522
523 523
524DEFUE ("interactive-p", Finteractive_p, Sinteractive_p, 0, 0, 0, 524DEFUN ("interactive-p", Finteractive_p, Sinteractive_p, 0, 0, 0,
525 doc: /* Return t if the containing function was run directly by user input. 525 doc: /* Return t if the containing function was run directly by user input.
526This means that the function was called with `call-interactively' 526This means that the function was called with `call-interactively'
527\(which includes being called as the binding of a key) 527\(which includes being called as the binding of a key)
@@ -1327,7 +1327,7 @@ unwind_to_catch (struct catchtag *catch, Lisp_Object value)
1327 _longjmp (catch->jmp, 1); 1327 _longjmp (catch->jmp, 1);
1328} 1328}
1329 1329
1330DEFUE ("throw", Fthrow, Sthrow, 2, 2, 0, 1330DEFUN ("throw", Fthrow, Sthrow, 2, 2, 0,
1331 doc: /* Throw to the catch for TAG and return VALUE from it. 1331 doc: /* Throw to the catch for TAG and return VALUE from it.
1332Both TAG and VALUE are evalled. */) 1332Both TAG and VALUE are evalled. */)
1333 (register Lisp_Object tag, Lisp_Object value) 1333 (register Lisp_Object tag, Lisp_Object value)
@@ -1657,7 +1657,7 @@ static Lisp_Object find_handler_clause (Lisp_Object, Lisp_Object,
1657static int maybe_call_debugger (Lisp_Object conditions, Lisp_Object sig, 1657static int maybe_call_debugger (Lisp_Object conditions, Lisp_Object sig,
1658 Lisp_Object data); 1658 Lisp_Object data);
1659 1659
1660DEFUE ("signal", Fsignal, Ssignal, 2, 2, 0, 1660DEFUN ("signal", Fsignal, Ssignal, 2, 2, 0,
1661 doc: /* Signal an error. Args are ERROR-SYMBOL and associated DATA. 1661 doc: /* Signal an error. Args are ERROR-SYMBOL and associated DATA.
1662This function does not return. 1662This function does not return.
1663 1663
@@ -2041,7 +2041,7 @@ error (const char *m, ...)
2041 va_end (ap); 2041 va_end (ap);
2042} 2042}
2043 2043
2044DEFUE ("commandp", Fcommandp, Scommandp, 1, 2, 0, 2044DEFUN ("commandp", Fcommandp, Scommandp, 1, 2, 0,
2045 doc: /* Non-nil if FUNCTION makes provisions for interactive calling. 2045 doc: /* Non-nil if FUNCTION makes provisions for interactive calling.
2046This means it contains a description for how to read arguments to give it. 2046This means it contains a description for how to read arguments to give it.
2047The value is nil for an invalid function or a symbol with no function 2047The value is nil for an invalid function or a symbol with no function
@@ -2222,7 +2222,7 @@ do_autoload (Lisp_Object fundef, Lisp_Object funname)
2222} 2222}
2223 2223
2224 2224
2225DEFUE ("eval", Feval, Seval, 1, 2, 0, 2225DEFUN ("eval", Feval, Seval, 1, 2, 0,
2226 doc: /* Evaluate FORM and return its value. 2226 doc: /* Evaluate FORM and return its value.
2227If LEXICAL is t, evaluate using lexical scoping. */) 2227If LEXICAL is t, evaluate using lexical scoping. */)
2228 (Lisp_Object form, Lisp_Object lexical) 2228 (Lisp_Object form, Lisp_Object lexical)
@@ -2458,7 +2458,7 @@ eval_sub (Lisp_Object form)
2458 return val; 2458 return val;
2459} 2459}
2460 2460
2461DEFUE ("apply", Fapply, Sapply, 2, MANY, 0, 2461DEFUN ("apply", Fapply, Sapply, 2, MANY, 0,
2462 doc: /* Call FUNCTION with our remaining args, using our last arg as list of args. 2462 doc: /* Call FUNCTION with our remaining args, using our last arg as list of args.
2463Then return the value FUNCTION returns. 2463Then return the value FUNCTION returns.
2464Thus, (apply '+ 1 2 '(3 4)) returns 10. 2464Thus, (apply '+ 1 2 '(3 4)) returns 10.
@@ -2553,7 +2553,7 @@ funcall_nil (size_t nargs, Lisp_Object *args)
2553 return Qnil; 2553 return Qnil;
2554} 2554}
2555 2555
2556DEFUE ("run-hooks", Frun_hooks, Srun_hooks, 0, MANY, 0, 2556DEFUN ("run-hooks", Frun_hooks, Srun_hooks, 0, MANY, 0,
2557 doc: /* Run each hook in HOOKS. 2557 doc: /* Run each hook in HOOKS.
2558Each argument should be a symbol, a hook variable. 2558Each argument should be a symbol, a hook variable.
2559These symbols are processed in the order specified. 2559These symbols are processed in the order specified.
@@ -2582,7 +2582,7 @@ usage: (run-hooks &rest HOOKS) */)
2582 return Qnil; 2582 return Qnil;
2583} 2583}
2584 2584
2585DEFUE ("run-hook-with-args", Frun_hook_with_args, 2585DEFUN ("run-hook-with-args", Frun_hook_with_args,
2586 Srun_hook_with_args, 1, MANY, 0, 2586 Srun_hook_with_args, 1, MANY, 0,
2587 doc: /* Run HOOK with the specified arguments ARGS. 2587 doc: /* Run HOOK with the specified arguments ARGS.
2588HOOK should be a symbol, a hook variable. If HOOK has a non-nil 2588HOOK should be a symbol, a hook variable. If HOOK has a non-nil
@@ -2628,7 +2628,7 @@ funcall_not (size_t nargs, Lisp_Object *args)
2628 return NILP (Ffuncall (nargs, args)) ? Qt : Qnil; 2628 return NILP (Ffuncall (nargs, args)) ? Qt : Qnil;
2629} 2629}
2630 2630
2631DEFUE ("run-hook-with-args-until-failure", Frun_hook_with_args_until_failure, 2631DEFUN ("run-hook-with-args-until-failure", Frun_hook_with_args_until_failure,
2632 Srun_hook_with_args_until_failure, 1, MANY, 0, 2632 Srun_hook_with_args_until_failure, 1, MANY, 0,
2633 doc: /* Run HOOK with the specified arguments ARGS. 2633 doc: /* Run HOOK with the specified arguments ARGS.
2634HOOK should be a symbol, a hook variable. If HOOK has a non-nil 2634HOOK should be a symbol, a hook variable. If HOOK has a non-nil
@@ -2915,7 +2915,7 @@ call7 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3,
2915 2915
2916/* The caller should GCPRO all the elements of ARGS. */ 2916/* The caller should GCPRO all the elements of ARGS. */
2917 2917
2918DEFUE ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0, 2918DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0,
2919 doc: /* Non-nil if OBJECT is a function. */) 2919 doc: /* Non-nil if OBJECT is a function. */)
2920 (Lisp_Object object) 2920 (Lisp_Object object)
2921{ 2921{
@@ -2948,7 +2948,7 @@ DEFUE ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0,
2948 return Qnil; 2948 return Qnil;
2949} 2949}
2950 2950
2951DEFUE ("funcall", Ffuncall, Sfuncall, 1, MANY, 0, 2951DEFUN ("funcall", Ffuncall, Sfuncall, 1, MANY, 0,
2952 doc: /* Call first argument as a function, passing remaining arguments to it. 2952 doc: /* Call first argument as a function, passing remaining arguments to it.
2953Return the value that function returns. 2953Return the value that function returns.
2954Thus, (funcall 'cons 'x 'y) returns (x . y). 2954Thus, (funcall 'cons 'x 'y) returns (x . y).
diff --git a/src/fileio.c b/src/fileio.c
index 4c92510178a..d1e285959e2 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -241,7 +241,7 @@ Lisp_Object Qwrite_region;
241static Lisp_Object Qverify_visited_file_modtime; 241static Lisp_Object Qverify_visited_file_modtime;
242static Lisp_Object Qset_visited_file_modtime; 242static Lisp_Object Qset_visited_file_modtime;
243 243
244DEFUE ("find-file-name-handler", Ffind_file_name_handler, 244DEFUN ("find-file-name-handler", Ffind_file_name_handler,
245 Sfind_file_name_handler, 2, 2, 0, 245 Sfind_file_name_handler, 2, 2, 0,
246 doc: /* Return FILENAME's handler function for OPERATION, if it has one. 246 doc: /* Return FILENAME's handler function for OPERATION, if it has one.
247Otherwise, return nil. 247Otherwise, return nil.
@@ -302,7 +302,7 @@ use the standard functions without calling themselves recursively. */)
302 return result; 302 return result;
303} 303}
304 304
305DEFUE ("file-name-directory", Ffile_name_directory, Sfile_name_directory, 305DEFUN ("file-name-directory", Ffile_name_directory, Sfile_name_directory,
306 1, 1, 0, 306 1, 1, 0,
307 doc: /* Return the directory component in file name FILENAME. 307 doc: /* Return the directory component in file name FILENAME.
308Return nil if FILENAME does not include a directory. 308Return nil if FILENAME does not include a directory.
@@ -376,7 +376,7 @@ Given a Unix syntax file name, returns a string ending in slash. */)
376 return make_specified_string (beg, -1, p - beg, STRING_MULTIBYTE (filename)); 376 return make_specified_string (beg, -1, p - beg, STRING_MULTIBYTE (filename));
377} 377}
378 378
379DEFUE ("file-name-nondirectory", Ffile_name_nondirectory, 379DEFUN ("file-name-nondirectory", Ffile_name_nondirectory,
380 Sfile_name_nondirectory, 1, 1, 0, 380 Sfile_name_nondirectory, 1, 1, 0,
381 doc: /* Return file name FILENAME sans its directory. 381 doc: /* Return file name FILENAME sans its directory.
382For example, in a Unix-syntax file name, 382For example, in a Unix-syntax file name,
@@ -411,7 +411,7 @@ or the entire name if it contains no slash. */)
411 return make_specified_string (p, -1, end - p, STRING_MULTIBYTE (filename)); 411 return make_specified_string (p, -1, end - p, STRING_MULTIBYTE (filename));
412} 412}
413 413
414DEFUE ("unhandled-file-name-directory", Funhandled_file_name_directory, 414DEFUN ("unhandled-file-name-directory", Funhandled_file_name_directory,
415 Sunhandled_file_name_directory, 1, 1, 0, 415 Sunhandled_file_name_directory, 1, 1, 0,
416 doc: /* Return a directly usable directory name somehow associated with FILENAME. 416 doc: /* Return a directly usable directory name somehow associated with FILENAME.
417A `directly usable' directory name is one that may be used without the 417A `directly usable' directory name is one that may be used without the
@@ -463,7 +463,7 @@ file_name_as_directory (char *out, const char *in)
463 return out; 463 return out;
464} 464}
465 465
466DEFUE ("file-name-as-directory", Ffile_name_as_directory, 466DEFUN ("file-name-as-directory", Ffile_name_as_directory,
467 Sfile_name_as_directory, 1, 1, 0, 467 Sfile_name_as_directory, 1, 1, 0,
468 doc: /* Return a string representing the file name FILE interpreted as a directory. 468 doc: /* Return a string representing the file name FILE interpreted as a directory.
469This operation exists because a directory is also a file, but its name as 469This operation exists because a directory is also a file, but its name as
@@ -522,7 +522,7 @@ directory_file_name (char *src, char *dst)
522 return 1; 522 return 1;
523} 523}
524 524
525DEFUE ("directory-file-name", Fdirectory_file_name, Sdirectory_file_name, 525DEFUN ("directory-file-name", Fdirectory_file_name, Sdirectory_file_name,
526 1, 1, 0, 526 1, 1, 0,
527 doc: /* Returns the file name of the directory named DIRECTORY. 527 doc: /* Returns the file name of the directory named DIRECTORY.
528This is the name of the file that holds the data for the directory DIRECTORY. 528This is the name of the file that holds the data for the directory DIRECTORY.
@@ -704,7 +704,7 @@ probably use `make-temp-file' instead, except in three circumstances:
704 704
705 705
706 706
707DEFUE ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, 707DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0,
708 doc: /* Convert filename NAME to absolute, and canonicalize it. 708 doc: /* Convert filename NAME to absolute, and canonicalize it.
709Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative 709Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative
710\(does not start with slash or tilde); if DEFAULT-DIRECTORY is nil or missing, 710\(does not start with slash or tilde); if DEFAULT-DIRECTORY is nil or missing,
@@ -1503,7 +1503,7 @@ search_embedded_absfilename (char *nm, char *endp)
1503 return NULL; 1503 return NULL;
1504} 1504}
1505 1505
1506DEFUE ("substitute-in-file-name", Fsubstitute_in_file_name, 1506DEFUN ("substitute-in-file-name", Fsubstitute_in_file_name,
1507 Ssubstitute_in_file_name, 1, 1, 0, 1507 Ssubstitute_in_file_name, 1, 1, 0,
1508 doc: /* Substitute environment variables referred to in FILENAME. 1508 doc: /* Substitute environment variables referred to in FILENAME.
1509`$FOO' where FOO is an environment variable name means to substitute 1509`$FOO' where FOO is an environment variable name means to substitute
@@ -2346,7 +2346,7 @@ This happens for interactive use with M-x. */)
2346} 2346}
2347 2347
2348 2348
2349DEFUE ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p, 2349DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p,
2350 1, 1, 0, 2350 1, 1, 0,
2351 doc: /* Return t if file FILENAME specifies an absolute file name. 2351 doc: /* Return t if file FILENAME specifies an absolute file name.
2352On Unix, this is a name starting with a `/' or a `~'. */) 2352On Unix, this is a name starting with a `/' or a `~'. */)
@@ -2402,7 +2402,7 @@ check_writable (const char *filename)
2402#endif /* not MSDOS */ 2402#endif /* not MSDOS */
2403} 2403}
2404 2404
2405DEFUE ("file-exists-p", Ffile_exists_p, Sfile_exists_p, 1, 1, 0, 2405DEFUN ("file-exists-p", Ffile_exists_p, Sfile_exists_p, 1, 1, 0,
2406 doc: /* Return t if file FILENAME exists (whether or not you can read it.) 2406 doc: /* Return t if file FILENAME exists (whether or not you can read it.)
2407See also `file-readable-p' and `file-attributes'. 2407See also `file-readable-p' and `file-attributes'.
2408This returns nil for a symlink to a nonexistent file. 2408This returns nil for a symlink to a nonexistent file.
@@ -2449,7 +2449,7 @@ For a directory, this means you can access files in that directory. */)
2449 return (check_executable (SSDATA (absname)) ? Qt : Qnil); 2449 return (check_executable (SSDATA (absname)) ? Qt : Qnil);
2450} 2450}
2451 2451
2452DEFUE ("file-readable-p", Ffile_readable_p, Sfile_readable_p, 1, 1, 0, 2452DEFUN ("file-readable-p", Ffile_readable_p, Sfile_readable_p, 1, 1, 0,
2453 doc: /* Return t if file FILENAME exists and you can read it. 2453 doc: /* Return t if file FILENAME exists and you can read it.
2454See also `file-exists-p' and `file-attributes'. */) 2454See also `file-exists-p' and `file-attributes'. */)
2455 (Lisp_Object filename) 2455 (Lisp_Object filename)
@@ -2571,7 +2571,7 @@ If there is no error, returns nil. */)
2571 return Qnil; 2571 return Qnil;
2572} 2572}
2573 2573
2574DEFUE ("file-symlink-p", Ffile_symlink_p, Sfile_symlink_p, 1, 1, 0, 2574DEFUN ("file-symlink-p", Ffile_symlink_p, Sfile_symlink_p, 1, 1, 0,
2575 doc: /* Return non-nil if file FILENAME is the name of a symbolic link. 2575 doc: /* Return non-nil if file FILENAME is the name of a symbolic link.
2576The value is the link target, as a string. 2576The value is the link target, as a string.
2577Otherwise it returns nil. 2577Otherwise it returns nil.
@@ -2609,7 +2609,7 @@ points to a nonexistent file. */)
2609 return val; 2609 return val;
2610} 2610}
2611 2611
2612DEFUE ("file-directory-p", Ffile_directory_p, Sfile_directory_p, 1, 1, 0, 2612DEFUN ("file-directory-p", Ffile_directory_p, Sfile_directory_p, 1, 1, 0,
2613 doc: /* Return t if FILENAME names an existing directory. 2613 doc: /* Return t if FILENAME names an existing directory.
2614Symbolic links to directories count as directories. 2614Symbolic links to directories count as directories.
2615See `file-symlink-p' to distinguish symlinks. */) 2615See `file-symlink-p' to distinguish symlinks. */)
@@ -2634,7 +2634,7 @@ See `file-symlink-p' to distinguish symlinks. */)
2634 return S_ISDIR (st.st_mode) ? Qt : Qnil; 2634 return S_ISDIR (st.st_mode) ? Qt : Qnil;
2635} 2635}
2636 2636
2637DEFUE ("file-accessible-directory-p", Ffile_accessible_directory_p, 2637DEFUN ("file-accessible-directory-p", Ffile_accessible_directory_p,
2638 Sfile_accessible_directory_p, 1, 1, 0, 2638 Sfile_accessible_directory_p, 1, 1, 0,
2639 doc: /* Return t if file FILENAME names a directory you can open. 2639 doc: /* Return t if file FILENAME names a directory you can open.
2640For the value to be t, FILENAME must specify the name of a directory as a file, 2640For the value to be t, FILENAME must specify the name of a directory as a file,
@@ -4354,7 +4354,7 @@ choose_write_coding_system (Lisp_Object start, Lisp_Object end, Lisp_Object file
4354 return val; 4354 return val;
4355} 4355}
4356 4356
4357DEFUE ("write-region", Fwrite_region, Swrite_region, 3, 7, 4357DEFUN ("write-region", Fwrite_region, Swrite_region, 3, 7,
4358 "r\nFWrite region to file: \ni\ni\ni\np", 4358 "r\nFWrite region to file: \ni\ni\ni\np",
4359 doc: /* Write current region into specified file. 4359 doc: /* Write current region into specified file.
4360When called from a program, requires three arguments: 4360When called from a program, requires three arguments:
@@ -4915,7 +4915,7 @@ e_write (int desc, Lisp_Object string, int start, int end, struct coding_system
4915 return 0; 4915 return 0;
4916} 4916}
4917 4917
4918DEFUE ("verify-visited-file-modtime", Fverify_visited_file_modtime, 4918DEFUN ("verify-visited-file-modtime", Fverify_visited_file_modtime,
4919 Sverify_visited_file_modtime, 0, 1, 0, 4919 Sverify_visited_file_modtime, 0, 1, 0,
4920 doc: /* Return t if last mod time of BUF's visited file matches what BUF records. 4920 doc: /* Return t if last mod time of BUF's visited file matches what BUF records.
4921This means that the file has not been changed since it was visited or saved. 4921This means that the file has not been changed since it was visited or saved.
@@ -5136,7 +5136,7 @@ do_auto_save_eh (Lisp_Object ignore)
5136 return Qnil; 5136 return Qnil;
5137} 5137}
5138 5138
5139DEFUE ("do-auto-save", Fdo_auto_save, Sdo_auto_save, 0, 2, "", 5139DEFUN ("do-auto-save", Fdo_auto_save, Sdo_auto_save, 0, 2, "",
5140 doc: /* Auto-save all buffers that need it. 5140 doc: /* Auto-save all buffers that need it.
5141This is all buffers that have auto-saving enabled 5141This is all buffers that have auto-saving enabled
5142and are changed since last auto-saved. 5142and are changed since last auto-saved.
diff --git a/src/filelock.c b/src/filelock.c
index c6b1617770c..13b27c72f19 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -639,7 +639,7 @@ or else nothing is done if current buffer isn't visiting a file. */)
639 return Qnil; 639 return Qnil;
640} 640}
641 641
642DEFUE ("unlock-buffer", Funlock_buffer, Sunlock_buffer, 642DEFUN ("unlock-buffer", Funlock_buffer, Sunlock_buffer,
643 0, 0, 0, 643 0, 0, 0,
644 doc: /* Unlock the file visited in the current buffer. 644 doc: /* Unlock the file visited in the current buffer.
645If the buffer is not modified, this does nothing because the file 645If the buffer is not modified, this does nothing because the file
diff --git a/src/floatfns.c b/src/floatfns.c
index 345b3b94947..1232fc0afa1 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -683,7 +683,7 @@ DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
683 return arg; 683 return arg;
684} 684}
685 685
686DEFUE ("float", Ffloat, Sfloat, 1, 1, 0, 686DEFUN ("float", Ffloat, Sfloat, 1, 1, 0,
687 doc: /* Return the floating point number equal to ARG. */) 687 doc: /* Return the floating point number equal to ARG. */)
688 (register Lisp_Object arg) 688 (register Lisp_Object arg)
689{ 689{
@@ -886,7 +886,7 @@ systems, but 2 on others. */)
886 return rounding_driver (arg, divisor, emacs_rint, round2, "round"); 886 return rounding_driver (arg, divisor, emacs_rint, round2, "round");
887} 887}
888 888
889DEFUE ("truncate", Ftruncate, Struncate, 1, 2, 0, 889DEFUN ("truncate", Ftruncate, Struncate, 1, 2, 0,
890 doc: /* Truncate a floating point number to an int. 890 doc: /* Truncate a floating point number to an int.
891Rounds ARG toward zero. 891Rounds ARG toward zero.
892With optional DIVISOR, truncate ARG/DIVISOR. */) 892With optional DIVISOR, truncate ARG/DIVISOR. */)
diff --git a/src/fns.c b/src/fns.c
index 2fee34eaf22..d3009775b81 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -62,7 +62,7 @@ static int internal_equal (Lisp_Object , Lisp_Object, int, int);
62extern long time (); 62extern long time ();
63#endif 63#endif
64 64
65DEFUE ("identity", Fidentity, Sidentity, 1, 1, 0, 65DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0,
66 doc: /* Return the argument unchanged. */) 66 doc: /* Return the argument unchanged. */)
67 (Lisp_Object arg) 67 (Lisp_Object arg)
68{ 68{
@@ -106,7 +106,7 @@ Other values of LIMIT are ignored. */)
106 106
107/* Random data-structure functions */ 107/* Random data-structure functions */
108 108
109DEFUE ("length", Flength, Slength, 1, 1, 0, 109DEFUN ("length", Flength, Slength, 1, 1, 0,
110 doc: /* Return the length of vector, list or string SEQUENCE. 110 doc: /* Return the length of vector, list or string SEQUENCE.
111A byte-code function object is also allowed. 111A byte-code function object is also allowed.
112If the string contains multibyte characters, this is not necessarily 112If the string contains multibyte characters, this is not necessarily
@@ -191,7 +191,7 @@ If STRING is multibyte, this may be greater than the length of STRING. */)
191 return make_number (SBYTES (string)); 191 return make_number (SBYTES (string));
192} 192}
193 193
194DEFUE ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0, 194DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0,
195 doc: /* Return t if two strings have identical contents. 195 doc: /* Return t if two strings have identical contents.
196Case is significant, but text properties are ignored. 196Case is significant, but text properties are ignored.
197Symbols are also allowed; their print names are used instead. */) 197Symbols are also allowed; their print names are used instead. */)
@@ -211,7 +211,7 @@ Symbols are also allowed; their print names are used instead. */)
211 return Qt; 211 return Qt;
212} 212}
213 213
214DEFUE ("compare-strings", Fcompare_strings, Scompare_strings, 6, 7, 0, 214DEFUN ("compare-strings", Fcompare_strings, Scompare_strings, 6, 7, 0,
215 doc: /* Compare the contents of two strings, converting to multibyte if needed. 215 doc: /* Compare the contents of two strings, converting to multibyte if needed.
216In string STR1, skip the first START1 characters and stop at END1. 216In string STR1, skip the first START1 characters and stop at END1.
217In string STR2, skip the first START2 characters and stop at END2. 217In string STR2, skip the first START2 characters and stop at END2.
@@ -312,7 +312,7 @@ If string STR1 is greater, the value is a positive number N;
312 return Qt; 312 return Qt;
313} 313}
314 314
315DEFUE ("string-lessp", Fstring_lessp, Sstring_lessp, 2, 2, 0, 315DEFUN ("string-lessp", Fstring_lessp, Sstring_lessp, 2, 2, 0,
316 doc: /* Return t if first arg string is less than second in lexicographic order. 316 doc: /* Return t if first arg string is less than second in lexicographic order.
317Case is significant. 317Case is significant.
318Symbols are also allowed; their print names are used instead. */) 318Symbols are also allowed; their print names are used instead. */)
@@ -373,7 +373,7 @@ concat3 (Lisp_Object s1, Lisp_Object s2, Lisp_Object s3)
373 return concat (3, args, Lisp_String, 0); 373 return concat (3, args, Lisp_String, 0);
374} 374}
375 375
376DEFUE ("append", Fappend, Sappend, 0, MANY, 0, 376DEFUN ("append", Fappend, Sappend, 0, MANY, 0,
377 doc: /* Concatenate all the arguments and make the result a list. 377 doc: /* Concatenate all the arguments and make the result a list.
378The result is a list whose elements are the elements of all the arguments. 378The result is a list whose elements are the elements of all the arguments.
379Each argument may be a list, vector or string. 379Each argument may be a list, vector or string.
@@ -384,7 +384,7 @@ usage: (append &rest SEQUENCES) */)
384 return concat (nargs, args, Lisp_Cons, 1); 384 return concat (nargs, args, Lisp_Cons, 1);
385} 385}
386 386
387DEFUE ("concat", Fconcat, Sconcat, 0, MANY, 0, 387DEFUN ("concat", Fconcat, Sconcat, 0, MANY, 0,
388 doc: /* Concatenate all the arguments and make the result a string. 388 doc: /* Concatenate all the arguments and make the result a string.
389The result is a string whose elements are the elements of all the arguments. 389The result is a string whose elements are the elements of all the arguments.
390Each argument may be a string or a list or vector of characters (integers). 390Each argument may be a string or a list or vector of characters (integers).
@@ -394,7 +394,7 @@ usage: (concat &rest SEQUENCES) */)
394 return concat (nargs, args, Lisp_String, 0); 394 return concat (nargs, args, Lisp_String, 0);
395} 395}
396 396
397DEFUE ("vconcat", Fvconcat, Svconcat, 0, MANY, 0, 397DEFUN ("vconcat", Fvconcat, Svconcat, 0, MANY, 0,
398 doc: /* Concatenate all the arguments and make the result a vector. 398 doc: /* Concatenate all the arguments and make the result a vector.
399The result is a vector whose elements are the elements of all the arguments. 399The result is a vector whose elements are the elements of all the arguments.
400Each argument may be a list, vector or string. 400Each argument may be a list, vector or string.
@@ -405,7 +405,7 @@ usage: (vconcat &rest SEQUENCES) */)
405} 405}
406 406
407 407
408DEFUE ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, 408DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0,
409 doc: /* Return a copy of a list, vector, string or char-table. 409 doc: /* Return a copy of a list, vector, string or char-table.
410The elements of a list or vector are not copied; they are shared 410The elements of a list or vector are not copied; they are shared
411with the original. */) 411with the original. */)
@@ -945,7 +945,7 @@ string_make_unibyte (Lisp_Object string)
945 return ret; 945 return ret;
946} 946}
947 947
948DEFUE ("string-make-multibyte", Fstring_make_multibyte, Sstring_make_multibyte, 948DEFUN ("string-make-multibyte", Fstring_make_multibyte, Sstring_make_multibyte,
949 1, 1, 0, 949 1, 1, 0,
950 doc: /* Return the multibyte equivalent of STRING. 950 doc: /* Return the multibyte equivalent of STRING.
951If STRING is unibyte and contains non-ASCII characters, the function 951If STRING is unibyte and contains non-ASCII characters, the function
@@ -963,7 +963,7 @@ string the same way whether it is unibyte or multibyte.) */)
963 return string_make_multibyte (string); 963 return string_make_multibyte (string);
964} 964}
965 965
966DEFUE ("string-make-unibyte", Fstring_make_unibyte, Sstring_make_unibyte, 966DEFUN ("string-make-unibyte", Fstring_make_unibyte, Sstring_make_unibyte,
967 1, 1, 0, 967 1, 1, 0,
968 doc: /* Return the unibyte equivalent of STRING. 968 doc: /* Return the unibyte equivalent of STRING.
969Multibyte character codes are converted to unibyte according to 969Multibyte character codes are converted to unibyte according to
@@ -977,7 +977,7 @@ the low 8 bits of each character. */)
977 return string_make_unibyte (string); 977 return string_make_unibyte (string);
978} 978}
979 979
980DEFUE ("string-as-unibyte", Fstring_as_unibyte, Sstring_as_unibyte, 980DEFUN ("string-as-unibyte", Fstring_as_unibyte, Sstring_as_unibyte,
981 1, 1, 0, 981 1, 1, 0,
982 doc: /* Return a unibyte string with the same individual bytes as STRING. 982 doc: /* Return a unibyte string with the same individual bytes as STRING.
983If STRING is unibyte, the result is STRING itself. 983If STRING is unibyte, the result is STRING itself.
@@ -1001,7 +1001,7 @@ If STRING is multibyte and contains a character of charset
1001 return string; 1001 return string;
1002} 1002}
1003 1003
1004DEFUE ("string-as-multibyte", Fstring_as_multibyte, Sstring_as_multibyte, 1004DEFUN ("string-as-multibyte", Fstring_as_multibyte, Sstring_as_multibyte,
1005 1, 1, 0, 1005 1, 1, 0,
1006 doc: /* Return a multibyte string with the same individual bytes as STRING. 1006 doc: /* Return a multibyte string with the same individual bytes as STRING.
1007If STRING is multibyte, the result is STRING itself. 1007If STRING is multibyte, the result is STRING itself.
@@ -1039,7 +1039,7 @@ If you're not sure, whether to use `string-as-multibyte' or
1039 return string; 1039 return string;
1040} 1040}
1041 1041
1042DEFUE ("string-to-multibyte", Fstring_to_multibyte, Sstring_to_multibyte, 1042DEFUN ("string-to-multibyte", Fstring_to_multibyte, Sstring_to_multibyte,
1043 1, 1, 0, 1043 1, 1, 0,
1044 doc: /* Return a multibyte string with the same individual chars as STRING. 1044 doc: /* Return a multibyte string with the same individual chars as STRING.
1045If STRING is multibyte, the result is STRING itself. 1045If STRING is multibyte, the result is STRING itself.
@@ -1085,7 +1085,7 @@ an error is signaled. */)
1085} 1085}
1086 1086
1087 1087
1088DEFUE ("copy-alist", Fcopy_alist, Scopy_alist, 1, 1, 0, 1088DEFUN ("copy-alist", Fcopy_alist, Scopy_alist, 1, 1, 0,
1089 doc: /* Return a copy of ALIST. 1089 doc: /* Return a copy of ALIST.
1090This is an alist which represents the same mapping from objects to objects, 1090This is an alist which represents the same mapping from objects to objects,
1091but does not share the alist structure with ALIST. 1091but does not share the alist structure with ALIST.
@@ -1111,7 +1111,7 @@ Elements of ALIST that are not conses are also shared. */)
1111 return alist; 1111 return alist;
1112} 1112}
1113 1113
1114DEFUE ("substring", Fsubstring, Ssubstring, 2, 3, 0, 1114DEFUN ("substring", Fsubstring, Ssubstring, 2, 3, 0,
1115 doc: /* Return a new string whose contents are a substring of STRING. 1115 doc: /* Return a new string whose contents are a substring of STRING.
1116The returned string consists of the characters between index FROM 1116The returned string consists of the characters between index FROM
1117\(inclusive) and index TO (exclusive) of STRING. FROM and TO are 1117\(inclusive) and index TO (exclusive) of STRING. FROM and TO are
@@ -1270,7 +1270,7 @@ substring_both (Lisp_Object string, EMACS_INT from, EMACS_INT from_byte,
1270 return res; 1270 return res;
1271} 1271}
1272 1272
1273DEFUE ("nthcdr", Fnthcdr, Snthcdr, 2, 2, 0, 1273DEFUN ("nthcdr", Fnthcdr, Snthcdr, 2, 2, 0,
1274 doc: /* Take cdr N times on LIST, return the result. */) 1274 doc: /* Take cdr N times on LIST, return the result. */)
1275 (Lisp_Object n, Lisp_Object list) 1275 (Lisp_Object n, Lisp_Object list)
1276{ 1276{
@@ -1286,7 +1286,7 @@ DEFUE ("nthcdr", Fnthcdr, Snthcdr, 2, 2, 0,
1286 return list; 1286 return list;
1287} 1287}
1288 1288
1289DEFUE ("nth", Fnth, Snth, 2, 2, 0, 1289DEFUN ("nth", Fnth, Snth, 2, 2, 0,
1290 doc: /* Return the Nth element of LIST. 1290 doc: /* Return the Nth element of LIST.
1291N counts from zero. If LIST is not that long, nil is returned. */) 1291N counts from zero. If LIST is not that long, nil is returned. */)
1292 (Lisp_Object n, Lisp_Object list) 1292 (Lisp_Object n, Lisp_Object list)
@@ -1294,7 +1294,7 @@ N counts from zero. If LIST is not that long, nil is returned. */)
1294 return Fcar (Fnthcdr (n, list)); 1294 return Fcar (Fnthcdr (n, list));
1295} 1295}
1296 1296
1297DEFUE ("elt", Felt, Selt, 2, 2, 0, 1297DEFUN ("elt", Felt, Selt, 2, 2, 0,
1298 doc: /* Return element of SEQUENCE at index N. */) 1298 doc: /* Return element of SEQUENCE at index N. */)
1299 (register Lisp_Object sequence, Lisp_Object n) 1299 (register Lisp_Object sequence, Lisp_Object n)
1300{ 1300{
@@ -1307,7 +1307,7 @@ DEFUE ("elt", Felt, Selt, 2, 2, 0,
1307 return Faref (sequence, n); 1307 return Faref (sequence, n);
1308} 1308}
1309 1309
1310DEFUE ("member", Fmember, Smember, 2, 2, 0, 1310DEFUN ("member", Fmember, Smember, 2, 2, 0,
1311 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `equal'. 1311 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `equal'.
1312The value is actually the tail of LIST whose car is ELT. */) 1312The value is actually the tail of LIST whose car is ELT. */)
1313 (register Lisp_Object elt, Lisp_Object list) 1313 (register Lisp_Object elt, Lisp_Object list)
@@ -1325,7 +1325,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1325 return Qnil; 1325 return Qnil;
1326} 1326}
1327 1327
1328DEFUE ("memq", Fmemq, Smemq, 2, 2, 0, 1328DEFUN ("memq", Fmemq, Smemq, 2, 2, 0,
1329 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eq'. 1329 doc: /* Return non-nil if ELT is an element of LIST. Comparison done with `eq'.
1330The value is actually the tail of LIST whose car is ELT. */) 1330The value is actually the tail of LIST whose car is ELT. */)
1331 (register Lisp_Object elt, Lisp_Object list) 1331 (register Lisp_Object elt, Lisp_Object list)
@@ -1373,7 +1373,7 @@ The value is actually the tail of LIST whose car is ELT. */)
1373 return Qnil; 1373 return Qnil;
1374} 1374}
1375 1375
1376DEFUE ("assq", Fassq, Sassq, 2, 2, 0, 1376DEFUN ("assq", Fassq, Sassq, 2, 2, 0,
1377 doc: /* Return non-nil if KEY is `eq' to the car of an element of LIST. 1377 doc: /* Return non-nil if KEY is `eq' to the car of an element of LIST.
1378The value is actually the first element of LIST whose car is KEY. 1378The value is actually the first element of LIST whose car is KEY.
1379Elements of LIST that are not conses are ignored. */) 1379Elements of LIST that are not conses are ignored. */)
@@ -1419,7 +1419,7 @@ assq_no_quit (Lisp_Object key, Lisp_Object list)
1419 return CAR_SAFE (list); 1419 return CAR_SAFE (list);
1420} 1420}
1421 1421
1422DEFUE ("assoc", Fassoc, Sassoc, 2, 2, 0, 1422DEFUN ("assoc", Fassoc, Sassoc, 2, 2, 0,
1423 doc: /* Return non-nil if KEY is `equal' to the car of an element of LIST. 1423 doc: /* Return non-nil if KEY is `equal' to the car of an element of LIST.
1424The value is actually the first element of LIST whose car equals KEY. */) 1424The value is actually the first element of LIST whose car equals KEY. */)
1425 (Lisp_Object key, Lisp_Object list) 1425 (Lisp_Object key, Lisp_Object list)
@@ -1470,7 +1470,7 @@ assoc_no_quit (Lisp_Object key, Lisp_Object list)
1470 return CONSP (list) ? XCAR (list) : Qnil; 1470 return CONSP (list) ? XCAR (list) : Qnil;
1471} 1471}
1472 1472
1473DEFUE ("rassq", Frassq, Srassq, 2, 2, 0, 1473DEFUN ("rassq", Frassq, Srassq, 2, 2, 0,
1474 doc: /* Return non-nil if KEY is `eq' to the cdr of an element of LIST. 1474 doc: /* Return non-nil if KEY is `eq' to the cdr of an element of LIST.
1475The value is actually the first element of LIST whose cdr is KEY. */) 1475The value is actually the first element of LIST whose cdr is KEY. */)
1476 (register Lisp_Object key, Lisp_Object list) 1476 (register Lisp_Object key, Lisp_Object list)
@@ -1501,7 +1501,7 @@ The value is actually the first element of LIST whose cdr is KEY. */)
1501 return CAR (list); 1501 return CAR (list);
1502} 1502}
1503 1503
1504DEFUE ("rassoc", Frassoc, Srassoc, 2, 2, 0, 1504DEFUN ("rassoc", Frassoc, Srassoc, 2, 2, 0,
1505 doc: /* Return non-nil if KEY is `equal' to the cdr of an element of LIST. 1505 doc: /* Return non-nil if KEY is `equal' to the cdr of an element of LIST.
1506The value is actually the first element of LIST whose cdr equals KEY. */) 1506The value is actually the first element of LIST whose cdr equals KEY. */)
1507 (Lisp_Object key, Lisp_Object list) 1507 (Lisp_Object key, Lisp_Object list)
@@ -1537,7 +1537,7 @@ The value is actually the first element of LIST whose cdr equals KEY. */)
1537 return CAR (list); 1537 return CAR (list);
1538} 1538}
1539 1539
1540DEFUE ("delq", Fdelq, Sdelq, 2, 2, 0, 1540DEFUN ("delq", Fdelq, Sdelq, 2, 2, 0,
1541 doc: /* Delete by side effect any occurrences of ELT as a member of LIST. 1541 doc: /* Delete by side effect any occurrences of ELT as a member of LIST.
1542The modified LIST is returned. Comparison is done with `eq'. 1542The modified LIST is returned. Comparison is done with `eq'.
1543If the first member of LIST is ELT, there is no way to remove it by side effect; 1543If the first member of LIST is ELT, there is no way to remove it by side effect;
@@ -1569,7 +1569,7 @@ to be sure of changing the value of `foo'. */)
1569 return list; 1569 return list;
1570} 1570}
1571 1571
1572DEFUE ("delete", Fdelete, Sdelete, 2, 2, 0, 1572DEFUN ("delete", Fdelete, Sdelete, 2, 2, 0,
1573 doc: /* Delete by side effect any occurrences of ELT as a member of SEQ. 1573 doc: /* Delete by side effect any occurrences of ELT as a member of SEQ.
1574SEQ must be a list, a vector, or a string. 1574SEQ must be a list, a vector, or a string.
1575The modified SEQ is returned. Comparison is done with `equal'. 1575The modified SEQ is returned. Comparison is done with `equal'.
@@ -1689,7 +1689,7 @@ to be sure of changing the value of `foo'. */)
1689 return seq; 1689 return seq;
1690} 1690}
1691 1691
1692DEFUE ("nreverse", Fnreverse, Snreverse, 1, 1, 0, 1692DEFUN ("nreverse", Fnreverse, Snreverse, 1, 1, 0,
1693 doc: /* Reverse LIST by modifying cdr pointers. 1693 doc: /* Reverse LIST by modifying cdr pointers.
1694Return the reversed list. */) 1694Return the reversed list. */)
1695 (Lisp_Object list) 1695 (Lisp_Object list)
@@ -1711,7 +1711,7 @@ Return the reversed list. */)
1711 return prev; 1711 return prev;
1712} 1712}
1713 1713
1714DEFUE ("reverse", Freverse, Sreverse, 1, 1, 0, 1714DEFUN ("reverse", Freverse, Sreverse, 1, 1, 0,
1715 doc: /* Reverse LIST, copying. Return the reversed list. 1715 doc: /* Reverse LIST, copying. Return the reversed list.
1716See also the function `nreverse', which is used more often. */) 1716See also the function `nreverse', which is used more often. */)
1717 (Lisp_Object list) 1717 (Lisp_Object list)
@@ -1729,7 +1729,7 @@ See also the function `nreverse', which is used more often. */)
1729 1729
1730Lisp_Object merge (Lisp_Object org_l1, Lisp_Object org_l2, Lisp_Object pred); 1730Lisp_Object merge (Lisp_Object org_l1, Lisp_Object org_l2, Lisp_Object pred);
1731 1731
1732DEFUE ("sort", Fsort, Ssort, 2, 2, 0, 1732DEFUN ("sort", Fsort, Ssort, 2, 2, 0,
1733 doc: /* Sort LIST, stably, comparing elements using PREDICATE. 1733 doc: /* Sort LIST, stably, comparing elements using PREDICATE.
1734Returns the sorted list. LIST is modified by side effects. 1734Returns the sorted list. LIST is modified by side effects.
1735PREDICATE is called with two elements of LIST, and should return non-nil 1735PREDICATE is called with two elements of LIST, and should return non-nil
@@ -1820,7 +1820,7 @@ merge (Lisp_Object org_l1, Lisp_Object org_l2, Lisp_Object pred)
1820 1820
1821/* This does not check for quits. That is safe since it must terminate. */ 1821/* This does not check for quits. That is safe since it must terminate. */
1822 1822
1823DEFUE ("plist-get", Fplist_get, Splist_get, 2, 2, 0, 1823DEFUN ("plist-get", Fplist_get, Splist_get, 2, 2, 0,
1824 doc: /* Extract a value from a property list. 1824 doc: /* Extract a value from a property list.
1825PLIST is a property list, which is a list of the form 1825PLIST is a property list, which is a list of the form
1826\(PROP1 VALUE1 PROP2 VALUE2...). This function returns the value 1826\(PROP1 VALUE1 PROP2 VALUE2...). This function returns the value
@@ -1853,7 +1853,7 @@ properties on the list. This function never signals an error. */)
1853 return Qnil; 1853 return Qnil;
1854} 1854}
1855 1855
1856DEFUE ("get", Fget, Sget, 2, 2, 0, 1856DEFUN ("get", Fget, Sget, 2, 2, 0,
1857 doc: /* Return the value of SYMBOL's PROPNAME property. 1857 doc: /* Return the value of SYMBOL's PROPNAME property.
1858This is the last value stored with `(put SYMBOL PROPNAME VALUE)'. */) 1858This is the last value stored with `(put SYMBOL PROPNAME VALUE)'. */)
1859 (Lisp_Object symbol, Lisp_Object propname) 1859 (Lisp_Object symbol, Lisp_Object propname)
@@ -1862,7 +1862,7 @@ This is the last value stored with `(put SYMBOL PROPNAME VALUE)'. */)
1862 return Fplist_get (XSYMBOL (symbol)->plist, propname); 1862 return Fplist_get (XSYMBOL (symbol)->plist, propname);
1863} 1863}
1864 1864
1865DEFUE ("plist-put", Fplist_put, Splist_put, 3, 3, 0, 1865DEFUN ("plist-put", Fplist_put, Splist_put, 3, 3, 0,
1866 doc: /* Change value in PLIST of PROP to VAL. 1866 doc: /* Change value in PLIST of PROP to VAL.
1867PLIST is a property list, which is a list of the form 1867PLIST is a property list, which is a list of the form
1868\(PROP1 VALUE1 PROP2 VALUE2 ...). PROP is a symbol and VAL is any object. 1868\(PROP1 VALUE1 PROP2 VALUE2 ...). PROP is a symbol and VAL is any object.
@@ -1895,7 +1895,7 @@ The PLIST is modified by side effects. */)
1895 return plist; 1895 return plist;
1896} 1896}
1897 1897
1898DEFUE ("put", Fput, Sput, 3, 3, 0, 1898DEFUN ("put", Fput, Sput, 3, 3, 0,
1899 doc: /* Store SYMBOL's PROPNAME property with value VALUE. 1899 doc: /* Store SYMBOL's PROPNAME property with value VALUE.
1900It can be retrieved with `(get SYMBOL PROPNAME)'. */) 1900It can be retrieved with `(get SYMBOL PROPNAME)'. */)
1901 (Lisp_Object symbol, Lisp_Object propname, Lisp_Object value) 1901 (Lisp_Object symbol, Lisp_Object propname, Lisp_Object value)
@@ -1975,7 +1975,7 @@ Floating-point numbers of equal value are `eql', but they may not be `eq'. */)
1975 return EQ (obj1, obj2) ? Qt : Qnil; 1975 return EQ (obj1, obj2) ? Qt : Qnil;
1976} 1976}
1977 1977
1978DEFUE ("equal", Fequal, Sequal, 2, 2, 0, 1978DEFUN ("equal", Fequal, Sequal, 2, 2, 0,
1979 doc: /* Return t if two Lisp objects have similar structure and contents. 1979 doc: /* Return t if two Lisp objects have similar structure and contents.
1980They must have the same data type. 1980They must have the same data type.
1981Conses are compared by comparing the cars and the cdrs. 1981Conses are compared by comparing the cars and the cdrs.
@@ -2223,7 +2223,7 @@ nconc2 (Lisp_Object s1, Lisp_Object s2)
2223 return Fnconc (2, args); 2223 return Fnconc (2, args);
2224} 2224}
2225 2225
2226DEFUE ("nconc", Fnconc, Snconc, 0, MANY, 0, 2226DEFUN ("nconc", Fnconc, Snconc, 0, MANY, 0,
2227 doc: /* Concatenate any number of lists by altering them. 2227 doc: /* Concatenate any number of lists by altering them.
2228Only the last argument is not altered, and need not be a list. 2228Only the last argument is not altered, and need not be a list.
2229usage: (nconc &rest LISTS) */) 2229usage: (nconc &rest LISTS) */)
@@ -2343,7 +2343,7 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
2343 UNGCPRO; 2343 UNGCPRO;
2344} 2344}
2345 2345
2346DEFUE ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 2346DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0,
2347 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. 2347 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
2348In between each pair of results, stick in SEPARATOR. Thus, " " as 2348In between each pair of results, stick in SEPARATOR. Thus, " " as
2349SEPARATOR results in spaces between the values returned by FUNCTION. 2349SEPARATOR results in spaces between the values returned by FUNCTION.
@@ -2384,7 +2384,7 @@ SEQUENCE may be a list, a vector, a bool-vector, or a string. */)
2384 return ret; 2384 return ret;
2385} 2385}
2386 2386
2387DEFUE ("mapcar", Fmapcar, Smapcar, 2, 2, 0, 2387DEFUN ("mapcar", Fmapcar, Smapcar, 2, 2, 0,
2388 doc: /* Apply FUNCTION to each element of SEQUENCE, and make a list of the results. 2388 doc: /* Apply FUNCTION to each element of SEQUENCE, and make a list of the results.
2389The result is a list just as long as SEQUENCE. 2389The result is a list just as long as SEQUENCE.
2390SEQUENCE may be a list, a vector, a bool-vector, or a string. */) 2390SEQUENCE may be a list, a vector, a bool-vector, or a string. */)
@@ -2562,7 +2562,7 @@ SUBFEATURE can be used to check a specific subfeature of FEATURE. */)
2562 return (NILP (tem)) ? Qnil : Qt; 2562 return (NILP (tem)) ? Qnil : Qt;
2563} 2563}
2564 2564
2565DEFUE ("provide", Fprovide, Sprovide, 1, 2, 0, 2565DEFUN ("provide", Fprovide, Sprovide, 1, 2, 0,
2566 doc: /* Announce that FEATURE is a feature of the current Emacs. 2566 doc: /* Announce that FEATURE is a feature of the current Emacs.
2567The optional argument SUBFEATURES should be a list of symbols listing 2567The optional argument SUBFEATURES should be a list of symbols listing
2568particular subfeatures supported in this version of FEATURE. */) 2568particular subfeatures supported in this version of FEATURE. */)
@@ -2700,7 +2700,7 @@ The normal messages at start and end of loading FILENAME are suppressed. */)
2700 bottleneck of Widget operation. Here is their translation to C, 2700 bottleneck of Widget operation. Here is their translation to C,
2701 for the sole reason of efficiency. */ 2701 for the sole reason of efficiency. */
2702 2702
2703DEFUE ("plist-member", Fplist_member, Splist_member, 2, 2, 0, 2703DEFUN ("plist-member", Fplist_member, Splist_member, 2, 2, 0,
2704 doc: /* Return non-nil if PLIST has the property PROP. 2704 doc: /* Return non-nil if PLIST has the property PROP.
2705PLIST is a property list, which is a list of the form 2705PLIST is a property list, which is a list of the form
2706\(PROP1 VALUE1 PROP2 VALUE2 ...\). PROP is a symbol. 2706\(PROP1 VALUE1 PROP2 VALUE2 ...\). PROP is a symbol.
@@ -4250,7 +4250,7 @@ DEFUN ("sxhash", Fsxhash, Ssxhash, 1, 1, 0,
4250} 4250}
4251 4251
4252 4252
4253DEFUE ("make-hash-table", Fmake_hash_table, Smake_hash_table, 0, MANY, 0, 4253DEFUN ("make-hash-table", Fmake_hash_table, Smake_hash_table, 0, MANY, 0,
4254 doc: /* Create and return a new hash table. 4254 doc: /* Create and return a new hash table.
4255 4255
4256Arguments are specified as keyword/argument pairs. The following 4256Arguments are specified as keyword/argument pairs. The following
@@ -4438,7 +4438,7 @@ DEFUN ("clrhash", Fclrhash, Sclrhash, 1, 1, 0,
4438} 4438}
4439 4439
4440 4440
4441DEFUE ("gethash", Fgethash, Sgethash, 2, 3, 0, 4441DEFUN ("gethash", Fgethash, Sgethash, 2, 3, 0,
4442 doc: /* Look up KEY in TABLE and return its associated value. 4442 doc: /* Look up KEY in TABLE and return its associated value.
4443If KEY is not found, return DFLT which defaults to nil. */) 4443If KEY is not found, return DFLT which defaults to nil. */)
4444 (Lisp_Object key, Lisp_Object table, Lisp_Object dflt) 4444 (Lisp_Object key, Lisp_Object table, Lisp_Object dflt)
@@ -4449,7 +4449,7 @@ If KEY is not found, return DFLT which defaults to nil. */)
4449} 4449}
4450 4450
4451 4451
4452DEFUE ("puthash", Fputhash, Sputhash, 3, 3, 0, 4452DEFUN ("puthash", Fputhash, Sputhash, 3, 3, 0,
4453 doc: /* Associate KEY with VALUE in hash table TABLE. 4453 doc: /* Associate KEY with VALUE in hash table TABLE.
4454If KEY is already present in table, replace its current value with 4454If KEY is already present in table, replace its current value with
4455VALUE. */) 4455VALUE. */)
@@ -4469,7 +4469,7 @@ VALUE. */)
4469} 4469}
4470 4470
4471 4471
4472DEFUE ("remhash", Fremhash, Sremhash, 2, 2, 0, 4472DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0,
4473 doc: /* Remove KEY from TABLE. */) 4473 doc: /* Remove KEY from TABLE. */)
4474 (Lisp_Object key, Lisp_Object table) 4474 (Lisp_Object key, Lisp_Object table)
4475{ 4475{
diff --git a/src/font.c b/src/font.c
index 6f27e3b9c67..7d8b94bddf2 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3764,7 +3764,7 @@ which kind of font it is. It must be one of `font-spec', `font-entity',
3764 wrong_type_argument (intern ("font-extra-type"), extra_type); 3764 wrong_type_argument (intern ("font-extra-type"), extra_type);
3765} 3765}
3766 3766
3767DEFUE ("font-spec", Ffont_spec, Sfont_spec, 0, MANY, 0, 3767DEFUN ("font-spec", Ffont_spec, Sfont_spec, 0, MANY, 0,
3768 doc: /* Return a newly created font-spec with arguments as properties. 3768 doc: /* Return a newly created font-spec with arguments as properties.
3769 3769
3770ARGS must come in pairs KEY VALUE of font properties. KEY must be a 3770ARGS must come in pairs KEY VALUE of font properties. KEY must be a
@@ -3923,7 +3923,7 @@ merge_font_spec (Lisp_Object from, Lisp_Object to)
3923 return to; 3923 return to;
3924} 3924}
3925 3925
3926DEFUE ("font-get", Ffont_get, Sfont_get, 2, 2, 0, 3926DEFUN ("font-get", Ffont_get, Sfont_get, 2, 2, 0,
3927 doc: /* Return the value of FONT's property KEY. 3927 doc: /* Return the value of FONT's property KEY.
3928FONT is a font-spec, a font-entity, or a font-object. 3928FONT is a font-spec, a font-entity, or a font-object.
3929KEY is any symbol, but these are reserved for specific meanings: 3929KEY is any symbol, but these are reserved for specific meanings:
@@ -4055,7 +4055,7 @@ are to be displayed on. If omitted, the selected frame is used. */)
4055 4055
4056#endif 4056#endif
4057 4057
4058DEFUE ("font-put", Ffont_put, Sfont_put, 3, 3, 0, 4058DEFUN ("font-put", Ffont_put, Sfont_put, 3, 3, 0,
4059 doc: /* Set one property of FONT: give property KEY value VAL. 4059 doc: /* Set one property of FONT: give property KEY value VAL.
4060FONT is a font-spec, a font-entity, or a font-object. 4060FONT is a font-spec, a font-entity, or a font-object.
4061 4061
@@ -4089,7 +4089,7 @@ accepted by `font-spec'. */)
4089 return val; 4089 return val;
4090} 4090}
4091 4091
4092DEFUE ("list-fonts", Flist_fonts, Slist_fonts, 1, 4, 0, 4092DEFUN ("list-fonts", Flist_fonts, Slist_fonts, 1, 4, 0,
4093 doc: /* List available fonts matching FONT-SPEC on the current frame. 4093 doc: /* List available fonts matching FONT-SPEC on the current frame.
4094Optional 2nd argument FRAME specifies the target frame. 4094Optional 2nd argument FRAME specifies the target frame.
4095Optional 3rd argument NUM, if non-nil, limits the number of returned fonts. 4095Optional 3rd argument NUM, if non-nil, limits the number of returned fonts.
@@ -4183,7 +4183,7 @@ Optional 2nd argument FRAME, if non-nil, specifies the target frame. */)
4183 return val; 4183 return val;
4184} 4184}
4185 4185
4186DEFUE ("font-xlfd-name", Ffont_xlfd_name, Sfont_xlfd_name, 1, 2, 0, 4186DEFUN ("font-xlfd-name", Ffont_xlfd_name, Sfont_xlfd_name, 1, 2, 0,
4187 doc: /* Return XLFD name of FONT. 4187 doc: /* Return XLFD name of FONT.
4188FONT is a font-spec, font-entity, or font-object. 4188FONT is a font-spec, font-entity, or font-object.
4189If the name is too long for XLFD (maximum 255 chars), return nil. 4189If the name is too long for XLFD (maximum 255 chars), return nil.
@@ -4405,7 +4405,7 @@ where
4405 4405
4406#if 0 4406#if 0
4407 4407
4408DEFUE ("font-drive-otf", Ffont_drive_otf, Sfont_drive_otf, 6, 6, 0, 4408DEFUN ("font-drive-otf", Ffont_drive_otf, Sfont_drive_otf, 6, 6, 0,
4409 doc: /* Apply OpenType features on glyph-string GSTRING-IN. 4409 doc: /* Apply OpenType features on glyph-string GSTRING-IN.
4410OTF-FEATURES specifies which features to apply in this format: 4410OTF-FEATURES specifies which features to apply in this format:
4411 (SCRIPT LANGSYS GSUB GPOS) 4411 (SCRIPT LANGSYS GSUB GPOS)
@@ -4475,7 +4475,7 @@ glyph-string. */)
4475 return make_number (num); 4475 return make_number (num);
4476} 4476}
4477 4477
4478DEFUE ("font-otf-alternates", Ffont_otf_alternates, Sfont_otf_alternates, 4478DEFUN ("font-otf-alternates", Ffont_otf_alternates, Sfont_otf_alternates,
4479 3, 3, 0, 4479 3, 3, 0,
4480 doc: /* Return a list of alternate glyphs of CHARACTER in FONT-OBJECT. 4480 doc: /* Return a list of alternate glyphs of CHARACTER in FONT-OBJECT.
4481OTF-FEATURES specifies which features of the font FONT-OBJECT to apply 4481OTF-FEATURES specifies which features of the font FONT-OBJECT to apply
diff --git a/src/fontset.c b/src/fontset.c
index 5aa65c85110..a40a3dd5f9c 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1176,7 +1176,7 @@ fs_query_fontset (Lisp_Object name, int name_pattern)
1176} 1176}
1177 1177
1178 1178
1179DEFUE ("query-fontset", Fquery_fontset, Squery_fontset, 1, 2, 0, 1179DEFUN ("query-fontset", Fquery_fontset, Squery_fontset, 1, 2, 0,
1180 doc: /* Return the name of a fontset that matches PATTERN. 1180 doc: /* Return the name of a fontset that matches PATTERN.
1181The value is nil if there is no matching fontset. 1181The value is nil if there is no matching fontset.
1182PATTERN can contain `*' or `?' as a wildcard 1182PATTERN can contain `*' or `?' as a wildcard
@@ -2142,7 +2142,7 @@ dump_fontset (Lisp_Object fontset)
2142 return vec; 2142 return vec;
2143} 2143}
2144 2144
2145DEFUE ("fontset-list-all", Ffontset_list_all, Sfontset_list_all, 0, 0, 0, 2145DEFUN ("fontset-list-all", Ffontset_list_all, Sfontset_list_all, 0, 0, 0,
2146 doc: /* Return a brief summary of all fontsets for debug use. */) 2146 doc: /* Return a brief summary of all fontsets for debug use. */)
2147 (void) 2147 (void)
2148{ 2148{
diff --git a/src/frame.c b/src/frame.c
index 79e0b40a319..cafcd149503 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -230,7 +230,7 @@ return values. */)
230 : Qnil); 230 : Qnil);
231} 231}
232 232
233DEFUE ("window-system", Fwindow_system, Swindow_system, 0, 1, 0, 233DEFUN ("window-system", Fwindow_system, Swindow_system, 0, 1, 0,
234 doc: /* The name of the window system that FRAME is displaying through. 234 doc: /* The name of the window system that FRAME is displaying through.
235The value is a symbol: 235The value is a symbol:
236 nil for a termcap frame (a character-only terminal), 236 nil for a termcap frame (a character-only terminal),
@@ -861,7 +861,7 @@ do_switch_frame (Lisp_Object frame, int track, int for_deletion, Lisp_Object nor
861 return frame; 861 return frame;
862} 862}
863 863
864DEFUE ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e", 864DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e",
865 doc: /* Select FRAME. 865 doc: /* Select FRAME.
866Subsequent editing commands apply to its selected window. 866Subsequent editing commands apply to its selected window.
867Optional argument NORECORD means to neither change the order of 867Optional argument NORECORD means to neither change the order of
@@ -899,14 +899,14 @@ to that frame. */)
899 return do_switch_frame (event, 0, 0, Qnil); 899 return do_switch_frame (event, 0, 0, Qnil);
900} 900}
901 901
902DEFUE ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0, 902DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0,
903 doc: /* Return the frame that is now selected. */) 903 doc: /* Return the frame that is now selected. */)
904 (void) 904 (void)
905{ 905{
906 return selected_frame; 906 return selected_frame;
907} 907}
908 908
909DEFUE ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0, 909DEFUN ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0,
910 doc: /* Return the frame object that window WINDOW is on. */) 910 doc: /* Return the frame object that window WINDOW is on. */)
911 (Lisp_Object window) 911 (Lisp_Object window)
912{ 912{
@@ -914,7 +914,7 @@ DEFUE ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0,
914 return XWINDOW (window)->frame; 914 return XWINDOW (window)->frame;
915} 915}
916 916
917DEFUE ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, 917DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0,
918 doc: /* Returns the topmost, leftmost window of FRAME. 918 doc: /* Returns the topmost, leftmost window of FRAME.
919If omitted, FRAME defaults to the currently selected frame. */) 919If omitted, FRAME defaults to the currently selected frame. */)
920 (Lisp_Object frame) 920 (Lisp_Object frame)
@@ -948,7 +948,7 @@ DEFUN ("active-minibuffer-window", Factive_minibuffer_window,
948 return minibuf_level ? minibuf_window : Qnil; 948 return minibuf_level ? minibuf_window : Qnil;
949} 949}
950 950
951DEFUE ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0, 951DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0,
952 doc: /* Returns the root-window of FRAME. 952 doc: /* Returns the root-window of FRAME.
953If omitted, FRAME defaults to the currently selected frame. */) 953If omitted, FRAME defaults to the currently selected frame. */)
954 (Lisp_Object frame) 954 (Lisp_Object frame)
@@ -985,7 +985,7 @@ FRAME defaults to the currently selected frame. */)
985 return window; 985 return window;
986} 986}
987 987
988DEFUE ("set-frame-selected-window", Fset_frame_selected_window, 988DEFUN ("set-frame-selected-window", Fset_frame_selected_window,
989 Sset_frame_selected_window, 2, 3, 0, 989 Sset_frame_selected_window, 2, 3, 0,
990 doc: /* Set selected window of FRAME to WINDOW. 990 doc: /* Set selected window of FRAME to WINDOW.
991If FRAME is nil, use the selected frame. If FRAME is the 991If FRAME is nil, use the selected frame. If FRAME is the
@@ -1781,7 +1781,7 @@ before calling this function on it, like this.
1781 1781
1782static void make_frame_visible_1 (Lisp_Object); 1782static void make_frame_visible_1 (Lisp_Object);
1783 1783
1784DEFUE ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible, 1784DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible,
1785 0, 1, "", 1785 0, 1, "",
1786 doc: /* Make the frame FRAME visible (assuming it is an X window). 1786 doc: /* Make the frame FRAME visible (assuming it is an X window).
1787If omitted, FRAME defaults to the currently selected frame. */) 1787If omitted, FRAME defaults to the currently selected frame. */)
@@ -1881,7 +1881,7 @@ displayed in the terminal. */)
1881 return Qnil; 1881 return Qnil;
1882} 1882}
1883 1883
1884DEFUE ("iconify-frame", Ficonify_frame, Siconify_frame, 1884DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame,
1885 0, 1, "", 1885 0, 1, "",
1886 doc: /* Make the frame FRAME into an icon. 1886 doc: /* Make the frame FRAME into an icon.
1887If omitted, FRAME defaults to the currently selected frame. */) 1887If omitted, FRAME defaults to the currently selected frame. */)
@@ -1966,7 +1966,7 @@ DEFUN ("visible-frame-list", Fvisible_frame_list, Svisible_frame_list,
1966} 1966}
1967 1967
1968 1968
1969DEFUE ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "", 1969DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "",
1970 doc: /* Bring FRAME to the front, so it occludes any frames it overlaps. 1970 doc: /* Bring FRAME to the front, so it occludes any frames it overlaps.
1971If FRAME is invisible or iconified, make it visible. 1971If FRAME is invisible or iconified, make it visible.
1972If you don't specify a frame, the selected frame is used. 1972If you don't specify a frame, the selected frame is used.
@@ -2019,7 +2019,7 @@ doesn't support multiple overlapping frames, this function does nothing. */)
2019} 2019}
2020 2020
2021 2021
2022DEFUE ("redirect-frame-focus", Fredirect_frame_focus, Sredirect_frame_focus, 2022DEFUN ("redirect-frame-focus", Fredirect_frame_focus, Sredirect_frame_focus,
2023 1, 2, 0, 2023 1, 2, 0,
2024 doc: /* Arrange for keystrokes typed at FRAME to be sent to FOCUS-FRAME. 2024 doc: /* Arrange for keystrokes typed at FRAME to be sent to FOCUS-FRAME.
2025In other words, switch-frame events caused by events in FRAME will 2025In other words, switch-frame events caused by events in FRAME will
@@ -2400,7 +2400,7 @@ If FRAME is omitted, return information on the currently selected frame. */)
2400} 2400}
2401 2401
2402 2402
2403DEFUE ("frame-parameter", Fframe_parameter, Sframe_parameter, 2, 2, 0, 2403DEFUN ("frame-parameter", Fframe_parameter, Sframe_parameter, 2, 2, 0,
2404 doc: /* Return FRAME's value for parameter PARAMETER. 2404 doc: /* Return FRAME's value for parameter PARAMETER.
2405If FRAME is nil, describe the currently selected frame. */) 2405If FRAME is nil, describe the currently selected frame. */)
2406 (Lisp_Object frame, Lisp_Object parameter) 2406 (Lisp_Object frame, Lisp_Object parameter)
@@ -2478,7 +2478,7 @@ If FRAME is nil, describe the currently selected frame. */)
2478} 2478}
2479 2479
2480 2480
2481DEFUE ("modify-frame-parameters", Fmodify_frame_parameters, 2481DEFUN ("modify-frame-parameters", Fmodify_frame_parameters,
2482 Smodify_frame_parameters, 2, 2, 0, 2482 Smodify_frame_parameters, 2, 2, 0,
2483 doc: /* Modify the parameters of frame FRAME according to ALIST. 2483 doc: /* Modify the parameters of frame FRAME according to ALIST.
2484If FRAME is nil, it defaults to the selected frame. 2484If FRAME is nil, it defaults to the selected frame.
diff --git a/src/image.c b/src/image.c
index 11c6aa8a17d..5e5d3509eaa 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7874,7 +7874,7 @@ static struct image_type imagemagick_type =
7874 }; 7874 };
7875 7875
7876 7876
7877DEFUE ("imagemagick-types", Fimagemagick_types, Simagemagick_types, 0, 0, 0, 7877DEFUN ("imagemagick-types", Fimagemagick_types, Simagemagick_types, 0, 0, 0,
7878 doc: /* Return the image types supported by ImageMagick. 7878 doc: /* Return the image types supported by ImageMagick.
7879Note that ImageMagick recognizes many file-types that Emacs does not recognize 7879Note that ImageMagick recognizes many file-types that Emacs does not recognize
7880as images, such as .c. */) 7880as images, such as .c. */)
@@ -8585,7 +8585,7 @@ x_kill_gs_process (Pixmap pixmap, struct frame *f)
8585 8585
8586#if GLYPH_DEBUG 8586#if GLYPH_DEBUG
8587 8587
8588DEFUE ("imagep", Fimagep, Simagep, 1, 1, 0, 8588DEFUN ("imagep", Fimagep, Simagep, 1, 1, 0,
8589 doc: /* Value is non-nil if SPEC is a valid image specification. */) 8589 doc: /* Value is non-nil if SPEC is a valid image specification. */)
8590 (Lisp_Object spec) 8590 (Lisp_Object spec)
8591{ 8591{
@@ -8593,7 +8593,7 @@ DEFUE ("imagep", Fimagep, Simagep, 1, 1, 0,
8593} 8593}
8594 8594
8595 8595
8596DEFUE ("lookup-image", Flookup_image, Slookup_image, 1, 1, 0, "") 8596DEFUN ("lookup-image", Flookup_image, Slookup_image, 1, 1, 0, "")
8597 (Lisp_Object spec) 8597 (Lisp_Object spec)
8598{ 8598{
8599 int id = -1; 8599 int id = -1;
diff --git a/src/indent.c b/src/indent.c
index 5eab4f48f69..0bfe2e61ca6 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -796,7 +796,7 @@ string_display_width (string, beg, end)
796#endif /* 0 */ 796#endif /* 0 */
797 797
798 798
799DEFUE ("indent-to", Findent_to, Sindent_to, 1, 2, "NIndent to column: ", 799DEFUN ("indent-to", Findent_to, Sindent_to, 1, 2, "NIndent to column: ",
800 doc: /* Indent from point with tabs and spaces until COLUMN is reached. 800 doc: /* Indent from point with tabs and spaces until COLUMN is reached.
801Optional second argument MINIMUM says always do at least MINIMUM spaces 801Optional second argument MINIMUM says always do at least MINIMUM spaces
802even if that goes past COLUMN; by default, MINIMUM is zero. 802even if that goes past COLUMN; by default, MINIMUM is zero.
@@ -967,7 +967,7 @@ indented_beyond_p (EMACS_INT pos, EMACS_INT pos_byte, EMACS_INT column)
967 return val >= column; 967 return val >= column;
968} 968}
969 969
970DEFUE ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", 970DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p",
971 doc: /* Move point to column COLUMN in the current line. 971 doc: /* Move point to column COLUMN in the current line.
972Interactively, COLUMN is the value of prefix numeric argument. 972Interactively, COLUMN is the value of prefix numeric argument.
973The column of a character is calculated by adding together the widths 973The column of a character is calculated by adding together the widths
@@ -1959,7 +1959,7 @@ vmotion (register EMACS_INT from, register EMACS_INT vtarget, struct window *w)
1959 w); 1959 w);
1960} 1960}
1961 1961
1962DEFUE ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 2, 0, 1962DEFUN ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 2, 0,
1963 doc: /* Move point to start of the screen line LINES lines down. 1963 doc: /* Move point to start of the screen line LINES lines down.
1964If LINES is negative, this means moving up. 1964If LINES is negative, this means moving up.
1965 1965
diff --git a/src/keyboard.c b/src/keyboard.c
index 1e673c493b6..29062a77e32 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -781,7 +781,7 @@ force_auto_save_soon (void)
781} 781}
782#endif 782#endif
783 783
784DEFUE ("recursive-edit", Frecursive_edit, Srecursive_edit, 0, 0, "", 784DEFUN ("recursive-edit", Frecursive_edit, Srecursive_edit, 0, 0, "",
785 doc: /* Invoke the editor command loop recursively. 785 doc: /* Invoke the editor command loop recursively.
786To get out of the recursive edit, a command can do `(throw 'exit nil)'; 786To get out of the recursive edit, a command can do `(throw 'exit nil)';
787that tells this function to return. 787that tells this function to return.
@@ -1175,7 +1175,7 @@ top_level_1 (Lisp_Object ignore)
1175 return Qnil; 1175 return Qnil;
1176} 1176}
1177 1177
1178DEFUE ("top-level", Ftop_level, Stop_level, 0, 0, "", 1178DEFUN ("top-level", Ftop_level, Stop_level, 0, 0, "",
1179 doc: /* Exit all recursive editing levels. 1179 doc: /* Exit all recursive editing levels.
1180This also exits all active minibuffers. */) 1180This also exits all active minibuffers. */)
1181 (void) 1181 (void)
@@ -6486,7 +6486,7 @@ modify_event_symbol (EMACS_INT symbol_num, unsigned int modifiers, Lisp_Object s
6486 such as (ctrl meta backspace), into the usual representation of that 6486 such as (ctrl meta backspace), into the usual representation of that
6487 event type as a number or a symbol. */ 6487 event type as a number or a symbol. */
6488 6488
6489DEFUE ("event-convert-list", Fevent_convert_list, Sevent_convert_list, 1, 1, 0, 6489DEFUN ("event-convert-list", Fevent_convert_list, Sevent_convert_list, 1, 1, 0,
6490 doc: /* Convert the event description list EVENT-DESC to an event type. 6490 doc: /* Convert the event description list EVENT-DESC to an event type.
6491EVENT-DESC should contain one base event type (a character or symbol) 6491EVENT-DESC should contain one base event type (a character or symbol)
6492and zero or more modifier names (control, meta, hyper, super, shift, alt, 6492and zero or more modifier names (control, meta, hyper, super, shift, alt,
@@ -9997,7 +9997,7 @@ read_key_sequence (Lisp_Object *keybuf, size_t bufsize, Lisp_Object prompt,
9997 return t; 9997 return t;
9998} 9998}
9999 9999
10000DEFUE ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0, 10000DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0,
10001 doc: /* Read a sequence of keystrokes and return as a string or vector. 10001 doc: /* Read a sequence of keystrokes and return as a string or vector.
10002The sequence is sufficient to specify a non-prefix command in the 10002The sequence is sufficient to specify a non-prefix command in the
10003current local and global maps. 10003current local and global maps.
@@ -10625,7 +10625,7 @@ If FILE is nil, close any open dribble file. */)
10625 return Qnil; 10625 return Qnil;
10626} 10626}
10627 10627
10628DEFUE ("discard-input", Fdiscard_input, Sdiscard_input, 0, 0, 0, 10628DEFUN ("discard-input", Fdiscard_input, Sdiscard_input, 0, 0, 0,
10629 doc: /* Discard the contents of the terminal input buffer. 10629 doc: /* Discard the contents of the terminal input buffer.
10630Also end any kbd macro being defined. */) 10630Also end any kbd macro being defined. */)
10631 (void) 10631 (void)
@@ -10978,7 +10978,7 @@ quit_throw_to_read_char (void)
10978 _longjmp (getcjmp, 1); 10978 _longjmp (getcjmp, 1);
10979} 10979}
10980 10980
10981DEFUE ("set-input-interrupt-mode", Fset_input_interrupt_mode, 10981DEFUN ("set-input-interrupt-mode", Fset_input_interrupt_mode,
10982 Sset_input_interrupt_mode, 1, 1, 0, 10982 Sset_input_interrupt_mode, 1, 1, 0,
10983 doc: /* Set interrupt mode of reading keyboard input. 10983 doc: /* Set interrupt mode of reading keyboard input.
10984If INTERRUPT is non-nil, Emacs will use input interrupts; 10984If INTERRUPT is non-nil, Emacs will use input interrupts;
@@ -11144,7 +11144,7 @@ See also `current-input-mode'. */)
11144 return Qnil; 11144 return Qnil;
11145} 11145}
11146 11146
11147DEFUE ("set-input-mode", Fset_input_mode, Sset_input_mode, 3, 4, 0, 11147DEFUN ("set-input-mode", Fset_input_mode, Sset_input_mode, 3, 4, 0,
11148 doc: /* Set mode of reading keyboard input. 11148 doc: /* Set mode of reading keyboard input.
11149First arg INTERRUPT non-nil means use input interrupts; 11149First arg INTERRUPT non-nil means use input interrupts;
11150 nil means use CBREAK mode. 11150 nil means use CBREAK mode.
diff --git a/src/keymap.c b/src/keymap.c
index 741fa4f6dfc..ba958077f0d 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -110,7 +110,7 @@ in case you use it as a menu with `x-popup-menu'. */)
110 Fcons (Fmake_char_table (Qkeymap, Qnil), tail)); 110 Fcons (Fmake_char_table (Qkeymap, Qnil), tail));
111} 111}
112 112
113DEFUE ("make-sparse-keymap", Fmake_sparse_keymap, Smake_sparse_keymap, 0, 1, 0, 113DEFUN ("make-sparse-keymap", Fmake_sparse_keymap, Smake_sparse_keymap, 0, 1, 0,
114 doc: /* Construct and return a new sparse keymap. 114 doc: /* Construct and return a new sparse keymap.
115Its car is `keymap' and its cdr is an alist of (CHAR . DEFINITION), 115Its car is `keymap' and its cdr is an alist of (CHAR . DEFINITION),
116which binds the character CHAR to DEFINITION, or (SYMBOL . DEFINITION), 116which binds the character CHAR to DEFINITION, or (SYMBOL . DEFINITION),
@@ -162,7 +162,7 @@ is also allowed as an element. */)
162 return (KEYMAPP (object) ? Qt : Qnil); 162 return (KEYMAPP (object) ? Qt : Qnil);
163} 163}
164 164
165DEFUE ("keymap-prompt", Fkeymap_prompt, Skeymap_prompt, 1, 1, 0, 165DEFUN ("keymap-prompt", Fkeymap_prompt, Skeymap_prompt, 1, 1, 0,
166 doc: /* Return the prompt-string of a keymap MAP. 166 doc: /* Return the prompt-string of a keymap MAP.
167If non-nil, the prompt is shown in the echo-area 167If non-nil, the prompt is shown in the echo-area
168when reading a key-sequence to be looked-up in this keymap. */) 168when reading a key-sequence to be looked-up in this keymap. */)
@@ -293,7 +293,7 @@ keymap_memberp (Lisp_Object map, Lisp_Object maps)
293 293
294/* Set the parent keymap of MAP to PARENT. */ 294/* Set the parent keymap of MAP to PARENT. */
295 295
296DEFUE ("set-keymap-parent", Fset_keymap_parent, Sset_keymap_parent, 2, 2, 0, 296DEFUN ("set-keymap-parent", Fset_keymap_parent, Sset_keymap_parent, 2, 2, 0,
297 doc: /* Modify KEYMAP to set its parent map to PARENT. 297 doc: /* Modify KEYMAP to set its parent map to PARENT.
298Return PARENT. PARENT should be nil or another keymap. */) 298Return PARENT. PARENT should be nil or another keymap. */)
299 (Lisp_Object keymap, Lisp_Object parent) 299 (Lisp_Object keymap, Lisp_Object parent)
@@ -1081,7 +1081,7 @@ is not copied. */)
1081 1081
1082/* GC is possible in this function if it autoloads a keymap. */ 1082/* GC is possible in this function if it autoloads a keymap. */
1083 1083
1084DEFUE ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0, 1084DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0,
1085 doc: /* In KEYMAP, define key sequence KEY as DEF. 1085 doc: /* In KEYMAP, define key sequence KEY as DEF.
1086KEYMAP is a keymap. 1086KEYMAP is a keymap.
1087 1087
@@ -1212,7 +1212,7 @@ binding KEY to DEF is added at the front of KEYMAP. */)
1212 1212
1213/* This function may GC (it calls Fkey_binding). */ 1213/* This function may GC (it calls Fkey_binding). */
1214 1214
1215DEFUE ("command-remapping", Fcommand_remapping, Scommand_remapping, 1, 3, 0, 1215DEFUN ("command-remapping", Fcommand_remapping, Scommand_remapping, 1, 3, 0,
1216 doc: /* Return the remapping for command COMMAND. 1216 doc: /* Return the remapping for command COMMAND.
1217Returns nil if COMMAND is not remapped (or not a symbol). 1217Returns nil if COMMAND is not remapped (or not a symbol).
1218 1218
@@ -1520,7 +1520,7 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr)
1520 return i; 1520 return i;
1521} 1521}
1522 1522
1523DEFUE ("current-active-maps", Fcurrent_active_maps, Scurrent_active_maps, 1523DEFUN ("current-active-maps", Fcurrent_active_maps, Scurrent_active_maps,
1524 0, 2, 0, 1524 0, 2, 0,
1525 doc: /* Return a list of the currently active keymaps. 1525 doc: /* Return a list of the currently active keymaps.
1526OLP if non-nil indicates that we should obey `overriding-local-map' and 1526OLP if non-nil indicates that we should obey `overriding-local-map' and
@@ -1663,7 +1663,7 @@ like in the respective argument of `key-binding'. */)
1663 1663
1664/* GC is possible in this function if it autoloads a keymap. */ 1664/* GC is possible in this function if it autoloads a keymap. */
1665 1665
1666DEFUE ("key-binding", Fkey_binding, Skey_binding, 1, 4, 0, 1666DEFUN ("key-binding", Fkey_binding, Skey_binding, 1, 4, 0,
1667 doc: /* Return the binding for command KEY in current keymaps. 1667 doc: /* Return the binding for command KEY in current keymaps.
1668KEY is a string or vector, a sequence of keystrokes. 1668KEY is a string or vector, a sequence of keystrokes.
1669The binding is probably a symbol with a function definition. 1669The binding is probably a symbol with a function definition.
@@ -2180,7 +2180,7 @@ static Lisp_Object Qsingle_key_description, Qkey_description;
2180 2180
2181/* This function cannot GC. */ 2181/* This function cannot GC. */
2182 2182
2183DEFUE ("key-description", Fkey_description, Skey_description, 1, 2, 0, 2183DEFUN ("key-description", Fkey_description, Skey_description, 1, 2, 0,
2184 doc: /* Return a pretty description of key-sequence KEYS. 2184 doc: /* Return a pretty description of key-sequence KEYS.
2185Optional arg PREFIX is the sequence of keys leading up to KEYS. 2185Optional arg PREFIX is the sequence of keys leading up to KEYS.
2186Control characters turn into "C-foo" sequences, meta into "M-foo", 2186Control characters turn into "C-foo" sequences, meta into "M-foo",
@@ -2399,7 +2399,7 @@ push_key_description (register unsigned int c, register char *p, int force_multi
2399 2399
2400/* This function cannot GC. */ 2400/* This function cannot GC. */
2401 2401
2402DEFUE ("single-key-description", Fsingle_key_description, 2402DEFUN ("single-key-description", Fsingle_key_description,
2403 Ssingle_key_description, 1, 2, 0, 2403 Ssingle_key_description, 1, 2, 0,
2404 doc: /* Return a pretty description of command character KEY. 2404 doc: /* Return a pretty description of command character KEY.
2405Control characters turn into C-whatever, etc. 2405Control characters turn into C-whatever, etc.
@@ -2677,7 +2677,7 @@ where_is_internal (Lisp_Object definition, Lisp_Object keymaps,
2677 2677
2678/* This function can GC if Flookup_key autoloads any keymaps. */ 2678/* This function can GC if Flookup_key autoloads any keymaps. */
2679 2679
2680DEFUE ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0, 2680DEFUN ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0,
2681 doc: /* Return list of keys that invoke DEFINITION. 2681 doc: /* Return list of keys that invoke DEFINITION.
2682If KEYMAP is a keymap, search only KEYMAP and the global keymap. 2682If KEYMAP is a keymap, search only KEYMAP and the global keymap.
2683If KEYMAP is nil, search all the currently active keymaps. 2683If KEYMAP is nil, search all the currently active keymaps.
diff --git a/src/lisp.h b/src/lisp.h
index 508f0b3a40b..4696a1c3432 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1806,12 +1806,8 @@ typedef struct {
1806 `doc' is documentation for the user. */ 1806 `doc' is documentation for the user. */
1807 1807
1808/* This version of DEFUN declares a function prototype with the right 1808/* This version of DEFUN declares a function prototype with the right
1809 arguments, so we can catch errors with maxargs at compile-time. 1809 arguments, so we can catch errors with maxargs at compile-time. */
1810 DEFUN defines an internal function, and DEFUE is similar but defines a 1810#define DEFUN(lname, fnname, sname, minargs, maxargs, intspec, doc) \
1811 external function, which can be used in other C-language modules. */
1812#define DEFUN static DEFINE_FUNC
1813#define DEFUE extern DEFINE_FUNC
1814#define DEFINE_FUNC(lname, fnname, sname, minargs, maxargs, intspec, doc) \
1815 Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; \ 1811 Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; \
1816 static DECL_ALIGN (struct Lisp_Subr, sname) = \ 1812 static DECL_ALIGN (struct Lisp_Subr, sname) = \
1817 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \ 1813 { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), \
diff --git a/src/lread.c b/src/lread.c
index fdb477c0218..d32f0b6a7e2 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -682,7 +682,7 @@ read_filtered_event (int no_switch_frame, int ascii_required,
682 return val; 682 return val;
683} 683}
684 684
685DEFUE ("read-char", Fread_char, Sread_char, 0, 3, 0, 685DEFUN ("read-char", Fread_char, Sread_char, 0, 3, 0,
686 doc: /* Read a character from the command input (keyboard or macro). 686 doc: /* Read a character from the command input (keyboard or macro).
687It is returned as a number. 687It is returned as a number.
688If the character has modifiers, they are resolved and reflected to the 688If the character has modifiers, they are resolved and reflected to the
@@ -715,7 +715,7 @@ floating-point value. */)
715 : make_number (char_resolve_modifier_mask (XINT (val)))); 715 : make_number (char_resolve_modifier_mask (XINT (val))));
716} 716}
717 717
718DEFUE ("read-event", Fread_event, Sread_event, 0, 3, 0, 718DEFUN ("read-event", Fread_event, Sread_event, 0, 3, 0,
719 doc: /* Read an event object from the input stream. 719 doc: /* Read an event object from the input stream.
720If the optional argument PROMPT is non-nil, display that as a prompt. 720If the optional argument PROMPT is non-nil, display that as a prompt.
721If the optional argument INHERIT-INPUT-METHOD is non-nil and some 721If the optional argument INHERIT-INPUT-METHOD is non-nil and some
@@ -951,7 +951,7 @@ load_warn_old_style_backquotes (Lisp_Object file)
951 return Qnil; 951 return Qnil;
952} 952}
953 953
954DEFUE ("get-load-suffixes", Fget_load_suffixes, Sget_load_suffixes, 0, 0, 0, 954DEFUN ("get-load-suffixes", Fget_load_suffixes, Sget_load_suffixes, 0, 0, 0,
955 doc: /* Return the suffixes that `load' should try if a suffix is \ 955 doc: /* Return the suffixes that `load' should try if a suffix is \
956required. 956required.
957This uses the variables `load-suffixes' and `load-file-rep-suffixes'. */) 957This uses the variables `load-suffixes' and `load-file-rep-suffixes'. */)
@@ -973,7 +973,7 @@ This uses the variables `load-suffixes' and `load-file-rep-suffixes'. */)
973 return Fnreverse (lst); 973 return Fnreverse (lst);
974} 974}
975 975
976DEFUE ("load", Fload, Sload, 1, 5, 0, 976DEFUN ("load", Fload, Sload, 1, 5, 0,
977 doc: /* Execute a file of Lisp code named FILE. 977 doc: /* Execute a file of Lisp code named FILE.
978First try FILE with `.elc' appended, then try with `.el', 978First try FILE with `.elc' appended, then try with `.el',
979then try FILE unmodified (the exact suffixes in the exact order are 979then try FILE unmodified (the exact suffixes in the exact order are
@@ -1907,7 +1907,7 @@ This function does not move point. */)
1907} 1907}
1908 1908
1909 1909
1910DEFUE ("read", Fread, Sread, 0, 1, 0, 1910DEFUN ("read", Fread, Sread, 0, 1, 0,
1911 doc: /* Read one Lisp expression as text from STREAM, return as Lisp object. 1911 doc: /* Read one Lisp expression as text from STREAM, return as Lisp object.
1912If STREAM is nil, use the value of `standard-input' (which see). 1912If STREAM is nil, use the value of `standard-input' (which see).
1913STREAM or the value of `standard-input' may be: 1913STREAM or the value of `standard-input' may be:
@@ -1930,7 +1930,7 @@ STREAM or the value of `standard-input' may be:
1930 return read_internal_start (stream, Qnil, Qnil); 1930 return read_internal_start (stream, Qnil, Qnil);
1931} 1931}
1932 1932
1933DEFUE ("read-from-string", Fread_from_string, Sread_from_string, 1, 3, 0, 1933DEFUN ("read-from-string", Fread_from_string, Sread_from_string, 1, 3, 0,
1934 doc: /* Read one Lisp expression which is represented as text by STRING. 1934 doc: /* Read one Lisp expression which is represented as text by STRING.
1935Returns a cons: (OBJECT-READ . FINAL-STRING-INDEX). 1935Returns a cons: (OBJECT-READ . FINAL-STRING-INDEX).
1936START and END optionally delimit a substring of STRING from which to read; 1936START and END optionally delimit a substring of STRING from which to read;
@@ -3643,7 +3643,7 @@ intern_c_string (const char *str)
3643 return Fintern (make_pure_c_string (str), obarray); 3643 return Fintern (make_pure_c_string (str), obarray);
3644} 3644}
3645 3645
3646DEFUE ("intern", Fintern, Sintern, 1, 2, 0, 3646DEFUN ("intern", Fintern, Sintern, 1, 2, 0,
3647 doc: /* Return the canonical symbol whose name is STRING. 3647 doc: /* Return the canonical symbol whose name is STRING.
3648If there is none, one is created by this function and returned. 3648If there is none, one is created by this function and returned.
3649A second optional argument specifies the obarray to use; 3649A second optional argument specifies the obarray to use;
@@ -3689,7 +3689,7 @@ it defaults to the value of `obarray'. */)
3689 return sym; 3689 return sym;
3690} 3690}
3691 3691
3692DEFUE ("intern-soft", Fintern_soft, Sintern_soft, 1, 2, 0, 3692DEFUN ("intern-soft", Fintern_soft, Sintern_soft, 1, 2, 0,
3693 doc: /* Return the canonical symbol named NAME, or nil if none exists. 3693 doc: /* Return the canonical symbol named NAME, or nil if none exists.
3694NAME may be a string or a symbol. If it is a symbol, that exact 3694NAME may be a string or a symbol. If it is a symbol, that exact
3695symbol is searched for. 3695symbol is searched for.
@@ -3717,7 +3717,7 @@ it defaults to the value of `obarray'. */)
3717 return tem; 3717 return tem;
3718} 3718}
3719 3719
3720DEFUE ("unintern", Funintern, Sunintern, 1, 2, 0, 3720DEFUN ("unintern", Funintern, Sunintern, 1, 2, 0,
3721 doc: /* Delete the symbol named NAME, if any, from OBARRAY. 3721 doc: /* Delete the symbol named NAME, if any, from OBARRAY.
3722The value is t if a symbol was found and deleted, nil otherwise. 3722The value is t if a symbol was found and deleted, nil otherwise.
3723NAME may be a string or a symbol. If it is a symbol, that symbol 3723NAME may be a string or a symbol. If it is a symbol, that symbol
diff --git a/src/macros.c b/src/macros.c
index e5de4a14136..3523e513d6a 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -216,7 +216,7 @@ finalize_kbd_macro_chars (void)
216 current_kboard->kbd_macro_end = current_kboard->kbd_macro_ptr; 216 current_kboard->kbd_macro_end = current_kboard->kbd_macro_ptr;
217} 217}
218 218
219DEFUE ("cancel-kbd-macro-events", Fcancel_kbd_macro_events, 219DEFUN ("cancel-kbd-macro-events", Fcancel_kbd_macro_events,
220 Scancel_kbd_macro_events, 0, 0, 0, 220 Scancel_kbd_macro_events, 0, 0, 0,
221 doc: /* Cancel the events added to a keyboard macro for this command. */) 221 doc: /* Cancel the events added to a keyboard macro for this command. */)
222 (void) 222 (void)
@@ -283,7 +283,7 @@ pop_kbd_macro (Lisp_Object info)
283 return Qnil; 283 return Qnil;
284} 284}
285 285
286DEFUE ("execute-kbd-macro", Fexecute_kbd_macro, Sexecute_kbd_macro, 1, 3, 0, 286DEFUN ("execute-kbd-macro", Fexecute_kbd_macro, Sexecute_kbd_macro, 1, 3, 0,
287 doc: /* Execute MACRO as string of editor command characters. 287 doc: /* Execute MACRO as string of editor command characters.
288If MACRO is a symbol, its function definition is used. 288If MACRO is a symbol, its function definition is used.
289COUNT is a repeat count, or nil for once, or 0 for infinite loop. 289COUNT is a repeat count, or nil for once, or 0 for infinite loop.
diff --git a/src/marker.c b/src/marker.c
index b8567c2810f..7d461099140 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -420,7 +420,7 @@ buf_bytepos_to_charpos (struct buffer *b, EMACS_INT bytepos)
420 420
421/* Operations on markers. */ 421/* Operations on markers. */
422 422
423DEFUE ("marker-buffer", Fmarker_buffer, Smarker_buffer, 1, 1, 0, 423DEFUN ("marker-buffer", Fmarker_buffer, Smarker_buffer, 1, 1, 0,
424 doc: /* Return the buffer that MARKER points into, or nil if none. 424 doc: /* Return the buffer that MARKER points into, or nil if none.
425Returns nil if MARKER points into a dead buffer. */) 425Returns nil if MARKER points into a dead buffer. */)
426 (register Lisp_Object marker) 426 (register Lisp_Object marker)
@@ -440,7 +440,7 @@ Returns nil if MARKER points into a dead buffer. */)
440 return Qnil; 440 return Qnil;
441} 441}
442 442
443DEFUE ("marker-position", Fmarker_position, Smarker_position, 1, 1, 0, 443DEFUN ("marker-position", Fmarker_position, Smarker_position, 1, 1, 0,
444 doc: /* Return the position MARKER points at, as a character number. 444 doc: /* Return the position MARKER points at, as a character number.
445Returns nil if MARKER points nowhere. */) 445Returns nil if MARKER points nowhere. */)
446 (Lisp_Object marker) 446 (Lisp_Object marker)
@@ -452,7 +452,7 @@ Returns nil if MARKER points nowhere. */)
452 return Qnil; 452 return Qnil;
453} 453}
454 454
455DEFUE ("set-marker", Fset_marker, Sset_marker, 2, 3, 0, 455DEFUN ("set-marker", Fset_marker, Sset_marker, 2, 3, 0,
456 doc: /* Position MARKER before character number POSITION in BUFFER. 456 doc: /* Position MARKER before character number POSITION in BUFFER.
457BUFFER defaults to the current buffer. 457BUFFER defaults to the current buffer.
458If POSITION is nil, makes marker point nowhere. 458If POSITION is nil, makes marker point nowhere.
@@ -796,7 +796,7 @@ marker_byte_position (Lisp_Object marker)
796 return i; 796 return i;
797} 797}
798 798
799DEFUE ("copy-marker", Fcopy_marker, Scopy_marker, 0, 2, 0, 799DEFUN ("copy-marker", Fcopy_marker, Scopy_marker, 0, 2, 0,
800 doc: /* Return a new marker pointing at the same place as MARKER. 800 doc: /* Return a new marker pointing at the same place as MARKER.
801If argument is a number, makes a new marker pointing 801If argument is a number, makes a new marker pointing
802at that position in the current buffer. 802at that position in the current buffer.
diff --git a/src/menu.c b/src/menu.c
index bf6bb6486bd..3bfb74863ae 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1017,7 +1017,7 @@ find_and_return_menu_selection (FRAME_PTR f, int keymaps, void *client_data)
1017} 1017}
1018#endif /* HAVE_NS */ 1018#endif /* HAVE_NS */
1019 1019
1020DEFUE ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, 1020DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0,
1021 doc: /* Pop up a deck-of-cards menu and return user's selection. 1021 doc: /* Pop up a deck-of-cards menu and return user's selection.
1022POSITION is a position specification. This is either a mouse button event 1022POSITION is a position specification. This is either a mouse button event
1023or a list ((XOFFSET YOFFSET) WINDOW) 1023or a list ((XOFFSET YOFFSET) WINDOW)
diff --git a/src/minibuf.c b/src/minibuf.c
index 3bcb0fca61c..6316ba514b9 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -872,7 +872,7 @@ read_minibuf_unwind (Lisp_Object data)
872} 872}
873 873
874 874
875DEFUE ("read-from-minibuffer", Fread_from_minibuffer, 875DEFUN ("read-from-minibuffer", Fread_from_minibuffer,
876 Sread_from_minibuffer, 1, 7, 0, 876 Sread_from_minibuffer, 1, 7, 0,
877 doc: /* Read a string from the minibuffer, prompting with string PROMPT. 877 doc: /* Read a string from the minibuffer, prompting with string PROMPT.
878The optional second arg INITIAL-CONTENTS is an obsolete alternative to 878The optional second arg INITIAL-CONTENTS is an obsolete alternative to
@@ -950,7 +950,7 @@ and some related functions, which use zero-indexing for POSITION. */)
950 return val; 950 return val;
951} 951}
952 952
953DEFUE ("read-minibuffer", Fread_minibuffer, Sread_minibuffer, 1, 2, 0, 953DEFUN ("read-minibuffer", Fread_minibuffer, Sread_minibuffer, 1, 2, 0,
954 doc: /* Return a Lisp object read using the minibuffer, unevaluated. 954 doc: /* Return a Lisp object read using the minibuffer, unevaluated.
955Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS 955Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS
956is a string to insert in the minibuffer before reading. 956is a string to insert in the minibuffer before reading.
@@ -964,7 +964,7 @@ Such arguments are used as in `read-from-minibuffer'.) */)
964 make_number (0), Qnil, 0, 0); 964 make_number (0), Qnil, 0, 0);
965} 965}
966 966
967DEFUE ("eval-minibuffer", Feval_minibuffer, Seval_minibuffer, 1, 2, 0, 967DEFUN ("eval-minibuffer", Feval_minibuffer, Seval_minibuffer, 1, 2, 0,
968 doc: /* Return value of Lisp expression read using the minibuffer. 968 doc: /* Return value of Lisp expression read using the minibuffer.
969Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS 969Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS
970is a string to insert in the minibuffer before reading. 970is a string to insert in the minibuffer before reading.
@@ -980,7 +980,7 @@ Such arguments are used as in `read-from-minibuffer'.) */)
980 980
981/* Functions that use the minibuffer to read various things. */ 981/* Functions that use the minibuffer to read various things. */
982 982
983DEFUE ("read-string", Fread_string, Sread_string, 1, 5, 0, 983DEFUN ("read-string", Fread_string, Sread_string, 1, 5, 0,
984 doc: /* Read a string from the minibuffer, prompting with string PROMPT. 984 doc: /* Read a string from the minibuffer, prompting with string PROMPT.
985If non-nil, second arg INITIAL-INPUT is a string to insert before reading. 985If non-nil, second arg INITIAL-INPUT is a string to insert before reading.
986 This argument has been superseded by DEFAULT-VALUE and should normally 986 This argument has been superseded by DEFAULT-VALUE and should normally
@@ -1057,7 +1057,7 @@ Prompt with PROMPT. */)
1057} 1057}
1058#endif /* NOTDEF */ 1058#endif /* NOTDEF */
1059 1059
1060DEFUE ("read-variable", Fread_variable, Sread_variable, 1, 2, 0, 1060DEFUN ("read-variable", Fread_variable, Sread_variable, 1, 2, 0,
1061 doc: /* Read the name of a user variable and return it as a symbol. 1061 doc: /* Read the name of a user variable and return it as a symbol.
1062Prompt with PROMPT. By default, return DEFAULT-VALUE or its first element 1062Prompt with PROMPT. By default, return DEFAULT-VALUE or its first element
1063if it is a list. 1063if it is a list.
@@ -1081,7 +1081,7 @@ A user variable is one for which `user-variable-p' returns non-nil. */)
1081 return Fintern (name, Qnil); 1081 return Fintern (name, Qnil);
1082} 1082}
1083 1083
1084DEFUE ("read-buffer", Fread_buffer, Sread_buffer, 1, 3, 0, 1084DEFUN ("read-buffer", Fread_buffer, Sread_buffer, 1, 3, 0,
1085 doc: /* Read the name of a buffer and return as a string. 1085 doc: /* Read the name of a buffer and return as a string.
1086Prompt with PROMPT. 1086Prompt with PROMPT.
1087Optional second arg DEF is value to return if user enters an empty line. 1087Optional second arg DEF is value to return if user enters an empty line.
@@ -1617,7 +1617,7 @@ with a space are ignored unless STRING itself starts with a space. */)
1617 return Fnreverse (allmatches); 1617 return Fnreverse (allmatches);
1618} 1618}
1619 1619
1620DEFUE ("completing-read", Fcompleting_read, Scompleting_read, 2, 8, 0, 1620DEFUN ("completing-read", Fcompleting_read, Scompleting_read, 2, 8, 0,
1621 doc: /* Read a string in the minibuffer, with completion. 1621 doc: /* Read a string in the minibuffer, with completion.
1622PROMPT is a string to prompt with; normally it ends in a colon and a space. 1622PROMPT is a string to prompt with; normally it ends in a colon and a space.
1623COLLECTION can be a list of strings, an alist, an obarray or a hash table. 1623COLLECTION can be a list of strings, an alist, an obarray or a hash table.
@@ -1918,7 +1918,7 @@ The arguments STRING and PREDICATE are as in `try-completion',
1918 1918
1919/* Like assoc but assumes KEY is a string, and ignores case if appropriate. */ 1919/* Like assoc but assumes KEY is a string, and ignores case if appropriate. */
1920 1920
1921DEFUE ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, 1921DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0,
1922 doc: /* Like `assoc' but specifically for strings (and symbols). 1922 doc: /* Like `assoc' but specifically for strings (and symbols).
1923 1923
1924This returns the first element of LIST whose car matches the string or 1924This returns the first element of LIST whose car matches the string or
diff --git a/src/print.c b/src/print.c
index 8bc8f98ccee..42c5df86783 100644
--- a/src/print.c
+++ b/src/print.c
@@ -526,7 +526,7 @@ static void print_preprocess (Lisp_Object obj);
526static void print_preprocess_string (INTERVAL interval, Lisp_Object arg); 526static void print_preprocess_string (INTERVAL interval, Lisp_Object arg);
527static void print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag); 527static void print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag);
528 528
529DEFUE ("terpri", Fterpri, Sterpri, 0, 1, 0, 529DEFUN ("terpri", Fterpri, Sterpri, 0, 1, 0,
530 doc: /* Output a newline to stream PRINTCHARFUN. 530 doc: /* Output a newline to stream PRINTCHARFUN.
531If PRINTCHARFUN is omitted or nil, the value of `standard-output' is used. */) 531If PRINTCHARFUN is omitted or nil, the value of `standard-output' is used. */)
532 (Lisp_Object printcharfun) 532 (Lisp_Object printcharfun)
@@ -541,7 +541,7 @@ If PRINTCHARFUN is omitted or nil, the value of `standard-output' is used. */)
541 return Qt; 541 return Qt;
542} 542}
543 543
544DEFUE ("prin1", Fprin1, Sprin1, 1, 2, 0, 544DEFUN ("prin1", Fprin1, Sprin1, 1, 2, 0,
545 doc: /* Output the printed representation of OBJECT, any Lisp object. 545 doc: /* Output the printed representation of OBJECT, any Lisp object.
546Quoting characters are printed when needed to make output that `read' 546Quoting characters are printed when needed to make output that `read'
547can handle, whenever this is possible. For complex objects, the behavior 547can handle, whenever this is possible. For complex objects, the behavior
@@ -579,7 +579,7 @@ is used instead. */)
579/* a buffer which is used to hold output being built by prin1-to-string */ 579/* a buffer which is used to hold output being built by prin1-to-string */
580Lisp_Object Vprin1_to_string_buffer; 580Lisp_Object Vprin1_to_string_buffer;
581 581
582DEFUE ("prin1-to-string", Fprin1_to_string, Sprin1_to_string, 1, 2, 0, 582DEFUN ("prin1-to-string", Fprin1_to_string, Sprin1_to_string, 1, 2, 0,
583 doc: /* Return a string containing the printed representation of OBJECT. 583 doc: /* Return a string containing the printed representation of OBJECT.
584OBJECT can be any Lisp object. This function outputs quoting characters 584OBJECT can be any Lisp object. This function outputs quoting characters
585when necessary to make output that `read' can handle, whenever possible, 585when necessary to make output that `read' can handle, whenever possible,
@@ -670,7 +670,7 @@ is used instead. */)
670 return object; 670 return object;
671} 671}
672 672
673DEFUE ("print", Fprint, Sprint, 1, 2, 0, 673DEFUN ("print", Fprint, Sprint, 1, 2, 0,
674 doc: /* Output the printed representation of OBJECT, with newlines around it. 674 doc: /* Output the printed representation of OBJECT, with newlines around it.
675Quoting characters are printed when needed to make output that `read' 675Quoting characters are printed when needed to make output that `read'
676can handle, whenever this is possible. For complex objects, the behavior 676can handle, whenever this is possible. For complex objects, the behavior
@@ -813,7 +813,7 @@ safe_debug_print (Lisp_Object arg)
813} 813}
814 814
815 815
816DEFUE ("error-message-string", Ferror_message_string, Serror_message_string, 816DEFUN ("error-message-string", Ferror_message_string, Serror_message_string,
817 1, 1, 0, 817 1, 1, 0,
818 doc: /* Convert an error value (ERROR-SYMBOL . DATA) to an error message. 818 doc: /* Convert an error value (ERROR-SYMBOL . DATA) to an error message.
819See Info anchor `(elisp)Definition of signal' for some details on how this 819See Info anchor `(elisp)Definition of signal' for some details on how this
diff --git a/src/process.c b/src/process.c
index 7efbab11190..0cec8977ad0 100644
--- a/src/process.c
+++ b/src/process.c
@@ -783,7 +783,7 @@ nil, indicating the current buffer's process. */)
783 return Qnil; 783 return Qnil;
784} 784}
785 785
786DEFUE ("process-status", Fprocess_status, Sprocess_status, 1, 1, 0, 786DEFUN ("process-status", Fprocess_status, Sprocess_status, 1, 1, 0,
787 doc: /* Return the status of PROCESS. 787 doc: /* Return the status of PROCESS.
788The returned value is one of the following symbols: 788The returned value is one of the following symbols:
789run -- for a process that is running. 789run -- for a process that is running.
@@ -5776,7 +5776,7 @@ don't send the signal. */)
5776 return process; 5776 return process;
5777} 5777}
5778 5778
5779DEFUE ("kill-process", Fkill_process, Skill_process, 0, 2, 0, 5779DEFUN ("kill-process", Fkill_process, Skill_process, 0, 2, 0,
5780 doc: /* Kill process PROCESS. May be process or name of one. 5780 doc: /* Kill process PROCESS. May be process or name of one.
5781See function `interrupt-process' for more details on usage. */) 5781See function `interrupt-process' for more details on usage. */)
5782 (Lisp_Object process, Lisp_Object current_group) 5782 (Lisp_Object process, Lisp_Object current_group)
@@ -6916,7 +6916,7 @@ close_process_descs (void)
6916#endif 6916#endif
6917} 6917}
6918 6918
6919DEFUE ("get-buffer-process", Fget_buffer_process, Sget_buffer_process, 1, 1, 0, 6919DEFUN ("get-buffer-process", Fget_buffer_process, Sget_buffer_process, 1, 1, 0,
6920 doc: /* Return the (or a) process associated with BUFFER. 6920 doc: /* Return the (or a) process associated with BUFFER.
6921BUFFER may be a buffer or the name of one. */) 6921BUFFER may be a buffer or the name of one. */)
6922 (register Lisp_Object buffer) 6922 (register Lisp_Object buffer)
@@ -6983,7 +6983,7 @@ kill_buffer_processes (Lisp_Object buffer)
6983#endif /* subprocesses */ 6983#endif /* subprocesses */
6984} 6984}
6985 6985
6986DEFUE ("waiting-for-user-input-p", Fwaiting_for_user_input_p, 6986DEFUN ("waiting-for-user-input-p", Fwaiting_for_user_input_p,
6987 Swaiting_for_user_input_p, 0, 0, 0, 6987 Swaiting_for_user_input_p, 0, 0, 0,
6988 doc: /* Returns non-nil if Emacs is waiting for input from the user. 6988 doc: /* Returns non-nil if Emacs is waiting for input from the user.
6989This is intended for use by asynchronous process output filters and sentinels. */) 6989This is intended for use by asynchronous process output filters and sentinels. */)
diff --git a/src/search.c b/src/search.c
index c522de90e05..6c835f2cc64 100644
--- a/src/search.c
+++ b/src/search.c
@@ -436,7 +436,7 @@ string_match_1 (Lisp_Object regexp, Lisp_Object string, Lisp_Object start, int p
436 return make_number (string_byte_to_char (string, val)); 436 return make_number (string_byte_to_char (string, val));
437} 437}
438 438
439DEFUE ("string-match", Fstring_match, Sstring_match, 2, 3, 0, 439DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0,
440 doc: /* Return index of start of first match for REGEXP in STRING, or nil. 440 doc: /* Return index of start of first match for REGEXP in STRING, or nil.
441Matching ignores case if `case-fold-search' is non-nil. 441Matching ignores case if `case-fold-search' is non-nil.
442If third arg START is non-nil, start search at that index in STRING. 442If third arg START is non-nil, start search at that index in STRING.
@@ -2811,7 +2811,7 @@ match_limit (Lisp_Object num, int beginningp)
2811 : search_regs.end[n])); 2811 : search_regs.end[n]));
2812} 2812}
2813 2813
2814DEFUE ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0, 2814DEFUN ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0,
2815 doc: /* Return position of start of text matched by last search. 2815 doc: /* Return position of start of text matched by last search.
2816SUBEXP, a number, specifies which parenthesized expression in the last 2816SUBEXP, a number, specifies which parenthesized expression in the last
2817 regexp. 2817 regexp.
@@ -2823,7 +2823,7 @@ Zero means the entire text matched by the whole regexp or whole string. */)
2823 return match_limit (subexp, 1); 2823 return match_limit (subexp, 1);
2824} 2824}
2825 2825
2826DEFUE ("match-end", Fmatch_end, Smatch_end, 1, 1, 0, 2826DEFUN ("match-end", Fmatch_end, Smatch_end, 1, 1, 0,
2827 doc: /* Return position of end of text matched by last search. 2827 doc: /* Return position of end of text matched by last search.
2828SUBEXP, a number, specifies which parenthesized expression in the last 2828SUBEXP, a number, specifies which parenthesized expression in the last
2829 regexp. 2829 regexp.
@@ -2835,7 +2835,7 @@ Zero means the entire text matched by the whole regexp or whole string. */)
2835 return match_limit (subexp, 0); 2835 return match_limit (subexp, 0);
2836} 2836}
2837 2837
2838DEFUE ("match-data", Fmatch_data, Smatch_data, 0, 3, 0, 2838DEFUN ("match-data", Fmatch_data, Smatch_data, 0, 3, 0,
2839 doc: /* Return a list containing all info on what the last search matched. 2839 doc: /* Return a list containing all info on what the last search matched.
2840Element 2N is `(match-beginning N)'; element 2N + 1 is `(match-end N)'. 2840Element 2N is `(match-beginning N)'; element 2N + 1 is `(match-end N)'.
2841All the elements are markers or nil (nil if the Nth pair didn't match) 2841All the elements are markers or nil (nil if the Nth pair didn't match)
@@ -2950,7 +2950,7 @@ Return value is undefined if the last search failed. */)
2950 But it was ill-conceived: those supposedly-internal markers get exposed via 2950 But it was ill-conceived: those supposedly-internal markers get exposed via
2951 the undo-list, so freeing them here is unsafe. */ 2951 the undo-list, so freeing them here is unsafe. */
2952 2952
2953DEFUE ("set-match-data", Fset_match_data, Sset_match_data, 1, 2, 0, 2953DEFUN ("set-match-data", Fset_match_data, Sset_match_data, 1, 2, 0,
2954 doc: /* Set internal data on last search match from elements of LIST. 2954 doc: /* Set internal data on last search match from elements of LIST.
2955LIST should have been created by calling `match-data' previously. 2955LIST should have been created by calling `match-data' previously.
2956 2956
diff --git a/src/syntax.c b/src/syntax.c
index 518ba3bba15..ce203948b04 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1341,7 +1341,7 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
1341 return from; 1341 return from;
1342} 1342}
1343 1343
1344DEFUE ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", 1344DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p",
1345 doc: /* Move point forward ARG words (backward if ARG is negative). 1345 doc: /* Move point forward ARG words (backward if ARG is negative).
1346Normally returns t. 1346Normally returns t.
1347If an edge of the buffer or a field boundary is reached, point is left there 1347If an edge of the buffer or a field boundary is reached, point is left there
@@ -1370,7 +1370,7 @@ and the function returns nil. Field boundaries are not noticed if
1370 return val == orig_val ? Qt : Qnil; 1370 return val == orig_val ? Qt : Qnil;
1371} 1371}
1372 1372
1373DEFUE ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, 1373DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0,
1374 doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM. 1374 doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM.
1375STRING is like the inside of a `[...]' in a regular expression 1375STRING is like the inside of a `[...]' in a regular expression
1376except that `]' is never special and `\\' quotes `^', `-' or `\\' 1376except that `]' is never special and `\\' quotes `^', `-' or `\\'
@@ -1385,7 +1385,7 @@ Returns the distance traveled, either zero or positive. */)
1385 return skip_chars (1, string, lim, 1); 1385 return skip_chars (1, string, lim, 1);
1386} 1386}
1387 1387
1388DEFUE ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0, 1388DEFUN ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0,
1389 doc: /* Move point backward, stopping after a char not in STRING, or at pos LIM. 1389 doc: /* Move point backward, stopping after a char not in STRING, or at pos LIM.
1390See `skip-chars-forward' for details. 1390See `skip-chars-forward' for details.
1391Returns the distance traveled, either zero or negative. */) 1391Returns the distance traveled, either zero or negative. */)
diff --git a/src/term.c b/src/term.c
index f70dd227878..df13d7c0db2 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2413,7 +2413,7 @@ get_named_tty (const char *name)
2413} 2413}
2414 2414
2415 2415
2416DEFUE ("tty-type", Ftty_type, Stty_type, 0, 1, 0, 2416DEFUN ("tty-type", Ftty_type, Stty_type, 0, 1, 0,
2417 doc: /* Return the type of the tty device that TERMINAL uses. 2417 doc: /* Return the type of the tty device that TERMINAL uses.
2418Returns nil if TERMINAL is not on a tty device. 2418Returns nil if TERMINAL is not on a tty device.
2419 2419
diff --git a/src/terminal.c b/src/terminal.c
index 7382622182f..c5185601fb6 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -305,7 +305,7 @@ delete_terminal (struct terminal *terminal)
305 305
306Lisp_Object Qrun_hook_with_args; 306Lisp_Object Qrun_hook_with_args;
307static Lisp_Object Qdelete_terminal_functions; 307static Lisp_Object Qdelete_terminal_functions;
308DEFUE ("delete-terminal", Fdelete_terminal, Sdelete_terminal, 0, 2, 0, 308DEFUN ("delete-terminal", Fdelete_terminal, Sdelete_terminal, 0, 2, 0,
309 doc: /* Delete TERMINAL by deleting all frames on it and closing the terminal. 309 doc: /* Delete TERMINAL by deleting all frames on it and closing the terminal.
310TERMINAL may be a terminal object, a frame, or nil (meaning the 310TERMINAL may be a terminal object, a frame, or nil (meaning the
311selected frame's terminal). 311selected frame's terminal).
@@ -348,7 +348,7 @@ but if the second argument FORCE is non-nil, you may do so. */)
348} 348}
349 349
350 350
351DEFUE ("frame-terminal", Fframe_terminal, Sframe_terminal, 0, 1, 0, 351DEFUN ("frame-terminal", Fframe_terminal, Sframe_terminal, 0, 1, 0,
352 doc: /* Return the terminal that FRAME is displayed on. 352 doc: /* Return the terminal that FRAME is displayed on.
353If FRAME is nil, the selected frame is used. 353If FRAME is nil, the selected frame is used.
354 354
diff --git a/src/textprop.c b/src/textprop.c
index e85b041891c..7ce488334e8 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -548,7 +548,7 @@ interval_of (int position, Lisp_Object object)
548 return find_interval (i, position); 548 return find_interval (i, position);
549} 549}
550 550
551DEFUE ("text-properties-at", Ftext_properties_at, 551DEFUN ("text-properties-at", Ftext_properties_at,
552 Stext_properties_at, 1, 2, 0, 552 Stext_properties_at, 1, 2, 0,
553 doc: /* Return the list of properties of the character at POSITION in OBJECT. 553 doc: /* Return the list of properties of the character at POSITION in OBJECT.
554If the optional second argument OBJECT is a buffer (or nil, which means 554If the optional second argument OBJECT is a buffer (or nil, which means
@@ -575,7 +575,7 @@ If POSITION is at the end of OBJECT, the value is nil. */)
575 return i->plist; 575 return i->plist;
576} 576}
577 577
578DEFUE ("get-text-property", Fget_text_property, Sget_text_property, 2, 3, 0, 578DEFUN ("get-text-property", Fget_text_property, Sget_text_property, 2, 3, 0,
579 doc: /* Return the value of POSITION's property PROP, in OBJECT. 579 doc: /* Return the value of POSITION's property PROP, in OBJECT.
580OBJECT is optional and defaults to the current buffer. 580OBJECT is optional and defaults to the current buffer.
581If POSITION is at the end of OBJECT, the value is nil. */) 581If POSITION is at the end of OBJECT, the value is nil. */)
@@ -650,7 +650,7 @@ get_char_property_and_overlay (Lisp_Object position, register Lisp_Object prop,
650 return Fget_text_property (position, prop, object); 650 return Fget_text_property (position, prop, object);
651} 651}
652 652
653DEFUE ("get-char-property", Fget_char_property, Sget_char_property, 2, 3, 0, 653DEFUN ("get-char-property", Fget_char_property, Sget_char_property, 2, 3, 0,
654 doc: /* Return the value of POSITION's property PROP, in OBJECT. 654 doc: /* Return the value of POSITION's property PROP, in OBJECT.
655Both overlay properties and text properties are checked. 655Both overlay properties and text properties are checked.
656OBJECT is optional and defaults to the current buffer. 656OBJECT is optional and defaults to the current buffer.
@@ -687,7 +687,7 @@ POSITION is at the end of OBJECT, both car and cdr are nil. */)
687} 687}
688 688
689 689
690DEFUE ("next-char-property-change", Fnext_char_property_change, 690DEFUN ("next-char-property-change", Fnext_char_property_change,
691 Snext_char_property_change, 1, 2, 0, 691 Snext_char_property_change, 1, 2, 0,
692 doc: /* Return the position of next text property or overlay change. 692 doc: /* Return the position of next text property or overlay change.
693This scans characters forward in the current buffer from POSITION till 693This scans characters forward in the current buffer from POSITION till
@@ -712,7 +712,7 @@ LIMIT is a no-op if it is greater than (point-max). */)
712 return Fnext_property_change (position, Qnil, temp); 712 return Fnext_property_change (position, Qnil, temp);
713} 713}
714 714
715DEFUE ("previous-char-property-change", Fprevious_char_property_change, 715DEFUN ("previous-char-property-change", Fprevious_char_property_change,
716 Sprevious_char_property_change, 1, 2, 0, 716 Sprevious_char_property_change, 1, 2, 0,
717 doc: /* Return the position of previous text property or overlay change. 717 doc: /* Return the position of previous text property or overlay change.
718Scans characters backward in the current buffer from POSITION till it 718Scans characters backward in the current buffer from POSITION till it
@@ -738,7 +738,7 @@ LIMIT is a no-op if it is less than (point-min). */)
738} 738}
739 739
740 740
741DEFUE ("next-single-char-property-change", Fnext_single_char_property_change, 741DEFUN ("next-single-char-property-change", Fnext_single_char_property_change,
742 Snext_single_char_property_change, 2, 4, 0, 742 Snext_single_char_property_change, 2, 4, 0,
743 doc: /* Return the position of next text property or overlay change for a specific property. 743 doc: /* Return the position of next text property or overlay change for a specific property.
744Scans characters forward from POSITION till it finds 744Scans characters forward from POSITION till it finds
@@ -821,7 +821,7 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
821 return position; 821 return position;
822} 822}
823 823
824DEFUE ("previous-single-char-property-change", 824DEFUN ("previous-single-char-property-change",
825 Fprevious_single_char_property_change, 825 Fprevious_single_char_property_change,
826 Sprevious_single_char_property_change, 2, 4, 0, 826 Sprevious_single_char_property_change, 2, 4, 0,
827 doc: /* Return the position of previous text property or overlay change for a specific property. 827 doc: /* Return the position of previous text property or overlay change for a specific property.
@@ -914,7 +914,7 @@ back past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
914 return position; 914 return position;
915} 915}
916 916
917DEFUE ("next-property-change", Fnext_property_change, 917DEFUN ("next-property-change", Fnext_property_change,
918 Snext_property_change, 1, 3, 0, 918 Snext_property_change, 1, 3, 0,
919 doc: /* Return the position of next property change. 919 doc: /* Return the position of next property change.
920Scans characters forward from POSITION in OBJECT till it finds 920Scans characters forward from POSITION in OBJECT till it finds
@@ -978,7 +978,7 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
978 return make_number (next->position); 978 return make_number (next->position);
979} 979}
980 980
981DEFUE ("next-single-property-change", Fnext_single_property_change, 981DEFUN ("next-single-property-change", Fnext_single_property_change,
982 Snext_single_property_change, 2, 4, 0, 982 Snext_single_property_change, 2, 4, 0,
983 doc: /* Return the position of next property change for a specific property. 983 doc: /* Return the position of next property change for a specific property.
984Scans characters forward from POSITION till it finds 984Scans characters forward from POSITION till it finds
@@ -1026,7 +1026,7 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
1026 return make_number (next->position); 1026 return make_number (next->position);
1027} 1027}
1028 1028
1029DEFUE ("previous-property-change", Fprevious_property_change, 1029DEFUN ("previous-property-change", Fprevious_property_change,
1030 Sprevious_property_change, 1, 3, 0, 1030 Sprevious_property_change, 1, 3, 0,
1031 doc: /* Return the position of previous property change. 1031 doc: /* Return the position of previous property change.
1032Scans characters backwards from POSITION in OBJECT till it finds 1032Scans characters backwards from POSITION in OBJECT till it finds
@@ -1073,7 +1073,7 @@ back past position LIMIT; return LIMIT if nothing is found until LIMIT. */)
1073 return make_number (previous->position + LENGTH (previous)); 1073 return make_number (previous->position + LENGTH (previous));
1074} 1074}
1075 1075
1076DEFUE ("previous-single-property-change", Fprevious_single_property_change, 1076DEFUN ("previous-single-property-change", Fprevious_single_property_change,
1077 Sprevious_single_property_change, 2, 4, 0, 1077 Sprevious_single_property_change, 2, 4, 0,
1078 doc: /* Return the position of previous property change for a specific property. 1078 doc: /* Return the position of previous property change for a specific property.
1079Scans characters backward from POSITION till it finds 1079Scans characters backward from POSITION till it finds
@@ -1127,7 +1127,7 @@ back past position LIMIT; return LIMIT if nothing is found until LIMIT. */)
1127 1127
1128/* Callers note, this can GC when OBJECT is a buffer (or nil). */ 1128/* Callers note, this can GC when OBJECT is a buffer (or nil). */
1129 1129
1130DEFUE ("add-text-properties", Fadd_text_properties, 1130DEFUN ("add-text-properties", Fadd_text_properties,
1131 Sadd_text_properties, 3, 4, 0, 1131 Sadd_text_properties, 3, 4, 0,
1132 doc: /* Add properties to the text from START to END. 1132 doc: /* Add properties to the text from START to END.
1133The third argument PROPERTIES is a property list 1133The third argument PROPERTIES is a property list
@@ -1236,7 +1236,7 @@ Return t if any property value actually changed, nil otherwise. */)
1236 1236
1237/* Callers note, this can GC when OBJECT is a buffer (or nil). */ 1237/* Callers note, this can GC when OBJECT is a buffer (or nil). */
1238 1238
1239DEFUE ("put-text-property", Fput_text_property, 1239DEFUN ("put-text-property", Fput_text_property,
1240 Sput_text_property, 4, 5, 0, 1240 Sput_text_property, 4, 5, 0,
1241 doc: /* Set one property of the text from START to END. 1241 doc: /* Set one property of the text from START to END.
1242The third and fourth arguments PROPERTY and VALUE 1242The third and fourth arguments PROPERTY and VALUE
@@ -1252,7 +1252,7 @@ markers). If OBJECT is a string, START and END are 0-based indices into it. */
1252 return Qnil; 1252 return Qnil;
1253} 1253}
1254 1254
1255DEFUE ("set-text-properties", Fset_text_properties, 1255DEFUN ("set-text-properties", Fset_text_properties,
1256 Sset_text_properties, 3, 4, 0, 1256 Sset_text_properties, 3, 4, 0,
1257 doc: /* Completely replace properties of text from START to END. 1257 doc: /* Completely replace properties of text from START to END.
1258The third argument PROPERTIES is the new property list. 1258The third argument PROPERTIES is the new property list.
@@ -1419,7 +1419,7 @@ set_text_properties_1 (Lisp_Object start, Lisp_Object end, Lisp_Object propertie
1419 while (len > 0); 1419 while (len > 0);
1420} 1420}
1421 1421
1422DEFUE ("remove-text-properties", Fremove_text_properties, 1422DEFUN ("remove-text-properties", Fremove_text_properties,
1423 Sremove_text_properties, 3, 4, 0, 1423 Sremove_text_properties, 3, 4, 0,
1424 doc: /* Remove some properties from text from START to END. 1424 doc: /* Remove some properties from text from START to END.
1425The third argument PROPERTIES is a property list 1425The third argument PROPERTIES is a property list
@@ -1509,7 +1509,7 @@ Use `set-text-properties' if you want to remove all text properties. */)
1509 } 1509 }
1510} 1510}
1511 1511
1512DEFUE ("remove-list-of-text-properties", Fremove_list_of_text_properties, 1512DEFUN ("remove-list-of-text-properties", Fremove_list_of_text_properties,
1513 Sremove_list_of_text_properties, 3, 4, 0, 1513 Sremove_list_of_text_properties, 3, 4, 0,
1514 doc: /* Remove some properties from text from START to END. 1514 doc: /* Remove some properties from text from START to END.
1515The third argument LIST-OF-PROPERTIES is a list of property names to remove. 1515The third argument LIST-OF-PROPERTIES is a list of property names to remove.
@@ -1619,7 +1619,7 @@ Return t if any property was actually removed, nil otherwise. */)
1619 } 1619 }
1620} 1620}
1621 1621
1622DEFUE ("text-property-any", Ftext_property_any, 1622DEFUN ("text-property-any", Ftext_property_any,
1623 Stext_property_any, 4, 5, 0, 1623 Stext_property_any, 4, 5, 0,
1624 doc: /* Check text from START to END for property PROPERTY equalling VALUE. 1624 doc: /* Check text from START to END for property PROPERTY equalling VALUE.
1625If so, return the position of the first character whose property PROPERTY 1625If so, return the position of the first character whose property PROPERTY
diff --git a/src/undo.c b/src/undo.c
index ba420fde817..80aff50d18a 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -270,7 +270,7 @@ record_property_change (EMACS_INT beg, EMACS_INT length,
270 current_buffer = obuf; 270 current_buffer = obuf;
271} 271}
272 272
273DEFUE ("undo-boundary", Fundo_boundary, Sundo_boundary, 0, 0, 0, 273DEFUN ("undo-boundary", Fundo_boundary, Sundo_boundary, 0, 0, 0,
274 doc: /* Mark a boundary between units of undo. 274 doc: /* Mark a boundary between units of undo.
275An undo command will stop at this point, 275An undo command will stop at this point,
276but another undo command will undo to the previous boundary. */) 276but another undo command will undo to the previous boundary. */)
diff --git a/src/window.c b/src/window.c
index 5b758ac698f..eef783268ee 100644
--- a/src/window.c
+++ b/src/window.c
@@ -217,7 +217,7 @@ make_window (void)
217 return val; 217 return val;
218} 218}
219 219
220DEFUE ("selected-window", Fselected_window, Sselected_window, 0, 0, 0, 220DEFUN ("selected-window", Fselected_window, Sselected_window, 0, 0, 0,
221 doc: /* Return the window that the cursor now appears in and commands apply to. */) 221 doc: /* Return the window that the cursor now appears in and commands apply to. */)
222 (void) 222 (void)
223{ 223{
@@ -236,7 +236,7 @@ used by that frame. */)
236 return FRAME_MINIBUF_WINDOW (XFRAME (frame)); 236 return FRAME_MINIBUF_WINDOW (XFRAME (frame));
237} 237}
238 238
239DEFUE ("window-minibuffer-p", Fwindow_minibuffer_p, 239DEFUN ("window-minibuffer-p", Fwindow_minibuffer_p,
240 Swindow_minibuffer_p, 0, 1, 0, 240 Swindow_minibuffer_p, 0, 1, 0,
241 doc: /* Return non-nil if WINDOW is a minibuffer window. 241 doc: /* Return non-nil if WINDOW is a minibuffer window.
242WINDOW defaults to the selected window. */) 242WINDOW defaults to the selected window. */)
@@ -247,7 +247,7 @@ WINDOW defaults to the selected window. */)
247} 247}
248 248
249 249
250DEFUE ("pos-visible-in-window-p", Fpos_visible_in_window_p, 250DEFUN ("pos-visible-in-window-p", Fpos_visible_in_window_p,
251 Spos_visible_in_window_p, 0, 3, 0, 251 Spos_visible_in_window_p, 0, 3, 0,
252 doc: /* Return non-nil if position POS is currently on the frame in WINDOW. 252 doc: /* Return non-nil if position POS is currently on the frame in WINDOW.
253Return nil if that position is scrolled vertically out of view. 253Return nil if that position is scrolled vertically out of view.
@@ -444,7 +444,7 @@ decode_any_window (register Lisp_Object window)
444 return XWINDOW (window); 444 return XWINDOW (window);
445} 445}
446 446
447DEFUE ("window-buffer", Fwindow_buffer, Swindow_buffer, 0, 1, 0, 447DEFUN ("window-buffer", Fwindow_buffer, Swindow_buffer, 0, 1, 0,
448 doc: /* Return the buffer that WINDOW is displaying. 448 doc: /* Return the buffer that WINDOW is displaying.
449WINDOW defaults to the selected window. */) 449WINDOW defaults to the selected window. */)
450 (Lisp_Object window) 450 (Lisp_Object window)
@@ -1198,7 +1198,7 @@ if it isn't already recorded. */)
1198 return value; 1198 return value;
1199} 1199}
1200 1200
1201DEFUE ("set-window-point", Fset_window_point, Sset_window_point, 2, 2, 0, 1201DEFUN ("set-window-point", Fset_window_point, Sset_window_point, 2, 2, 0,
1202 doc: /* Make point value in WINDOW be at position POS in WINDOW's buffer. 1202 doc: /* Make point value in WINDOW be at position POS in WINDOW's buffer.
1203Return POS. */) 1203Return POS. */)
1204 (Lisp_Object window, Lisp_Object pos) 1204 (Lisp_Object window, Lisp_Object pos)
@@ -1245,7 +1245,7 @@ overriding motion of point in order to display at this exact start. */)
1245} 1245}
1246 1246
1247 1247
1248DEFUE ("window-dedicated-p", Fwindow_dedicated_p, Swindow_dedicated_p, 1248DEFUN ("window-dedicated-p", Fwindow_dedicated_p, Swindow_dedicated_p,
1249 0, 1, 0, 1249 0, 1, 0,
1250 doc: /* Return non-nil when WINDOW is dedicated to its buffer. 1250 doc: /* Return non-nil when WINDOW is dedicated to its buffer.
1251More precisely, return the value assigned by the last call of 1251More precisely, return the value assigned by the last call of
@@ -1486,7 +1486,7 @@ and so is its new parent, we should make replacement's
1486children be children of that parent instead. ***/ 1486children be children of that parent instead. ***/
1487} 1487}
1488 1488
1489DEFUE ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "", 1489DEFUN ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "",
1490 doc: /* Remove WINDOW from its frame. 1490 doc: /* Remove WINDOW from its frame.
1491WINDOW defaults to the selected window. Return nil. 1491WINDOW defaults to the selected window. Return nil.
1492Signal an error when WINDOW is the only window on its frame. */) 1492Signal an error when WINDOW is the only window on its frame. */)
@@ -1947,7 +1947,7 @@ next_window (Lisp_Object window, Lisp_Object minibuf, Lisp_Object all_frames, in
1947} 1947}
1948 1948
1949 1949
1950DEFUE ("next-window", Fnext_window, Snext_window, 0, 3, 0, 1950DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0,
1951 doc: /* Return window following WINDOW in cyclic ordering of windows. 1951 doc: /* Return window following WINDOW in cyclic ordering of windows.
1952WINDOW defaults to the selected window. The optional arguments 1952WINDOW defaults to the selected window. The optional arguments
1953MINIBUF and ALL-FRAMES specify the set of windows to consider. 1953MINIBUF and ALL-FRAMES specify the set of windows to consider.
@@ -2398,7 +2398,7 @@ If FRAME is a frame, search only that frame. */)
2398 frame); 2398 frame);
2399} 2399}
2400 2400
2401DEFUE ("get-buffer-window", Fget_buffer_window, Sget_buffer_window, 0, 2, 0, 2401DEFUN ("get-buffer-window", Fget_buffer_window, Sget_buffer_window, 0, 2, 0,
2402 doc: /* Return a window currently displaying BUFFER-OR-NAME, or nil if none. 2402 doc: /* Return a window currently displaying BUFFER-OR-NAME, or nil if none.
2403BUFFER-OR-NAME may be a buffer or a buffer name and defaults to the 2403BUFFER-OR-NAME may be a buffer or a buffer name and defaults to the
2404current buffer. 2404current buffer.
@@ -3445,7 +3445,7 @@ set_window_buffer (Lisp_Object window, Lisp_Object buffer, int run_hooks_p, int
3445} 3445}
3446 3446
3447 3447
3448DEFUE ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0, 3448DEFUN ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0,
3449 doc: /* Make WINDOW display BUFFER-OR-NAME as its contents. 3449 doc: /* Make WINDOW display BUFFER-OR-NAME as its contents.
3450WINDOW defaults to the selected window. BUFFER-OR-NAME must be a buffer 3450WINDOW defaults to the selected window. BUFFER-OR-NAME must be a buffer
3451or the name of an existing buffer. Optional third argument KEEP-MARGINS 3451or the name of an existing buffer. Optional third argument KEEP-MARGINS
@@ -3575,7 +3575,7 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap)
3575/* Note that selected_window can be nil when this is called from 3575/* Note that selected_window can be nil when this is called from
3576 Fset_window_configuration. */ 3576 Fset_window_configuration. */
3577 3577
3578DEFUE ("select-window", Fselect_window, Sselect_window, 1, 2, 0, 3578DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0,
3579 doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer. 3579 doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer.
3580If WINDOW is not already selected, make WINDOW's buffer current 3580If WINDOW is not already selected, make WINDOW's buffer current
3581and make WINDOW the frame's selected window. Return WINDOW. 3581and make WINDOW the frame's selected window. Return WINDOW.
@@ -5503,7 +5503,7 @@ displayed_window_lines (struct window *w)
5503} 5503}
5504 5504
5505 5505
5506DEFUE ("recenter", Frecenter, Srecenter, 0, 1, "P", 5506DEFUN ("recenter", Frecenter, Srecenter, 0, 1, "P",
5507 doc: /* Center point in selected window and maybe redisplay frame. 5507 doc: /* Center point in selected window and maybe redisplay frame.
5508With prefix argument ARG, recenter putting point on screen line ARG 5508With prefix argument ARG, recenter putting point on screen line ARG
5509relative to the selected window. If ARG is negative, it counts up from the 5509relative to the selected window. If ARG is negative, it counts up from the
@@ -5856,7 +5856,7 @@ DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_config
5856 return XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame; 5856 return XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame;
5857} 5857}
5858 5858
5859DEFUE ("set-window-configuration", Fset_window_configuration, 5859DEFUN ("set-window-configuration", Fset_window_configuration,
5860 Sset_window_configuration, 1, 1, 0, 5860 Sset_window_configuration, 1, 1, 0,
5861 doc: /* Set the configuration of windows and buffers as specified by CONFIGURATION. 5861 doc: /* Set the configuration of windows and buffers as specified by CONFIGURATION.
5862CONFIGURATION must be a value previously returned 5862CONFIGURATION must be a value previously returned
@@ -6353,7 +6353,7 @@ save_window_save (Lisp_Object window, struct Lisp_Vector *vector, int i)
6353 return i; 6353 return i;
6354} 6354}
6355 6355
6356DEFUE ("current-window-configuration", Fcurrent_window_configuration, 6356DEFUN ("current-window-configuration", Fcurrent_window_configuration,
6357 Scurrent_window_configuration, 0, 1, 0, 6357 Scurrent_window_configuration, 0, 1, 0,
6358 doc: /* Return an object representing the current window configuration of FRAME. 6358 doc: /* Return an object representing the current window configuration of FRAME.
6359If FRAME is nil or omitted, use the selected frame. 6359If FRAME is nil or omitted, use the selected frame.
@@ -6545,7 +6545,7 @@ as nil. */)
6545 Fringes 6545 Fringes
6546 ***********************************************************************/ 6546 ***********************************************************************/
6547 6547
6548DEFUE ("set-window-fringes", Fset_window_fringes, Sset_window_fringes, 6548DEFUN ("set-window-fringes", Fset_window_fringes, Sset_window_fringes,
6549 2, 4, 0, 6549 2, 4, 0,
6550 doc: /* Set the fringe widths of window WINDOW. 6550 doc: /* Set the fringe widths of window WINDOW.
6551If WINDOW is nil, set the fringe widths of the currently selected 6551If WINDOW is nil, set the fringe widths of the currently selected
@@ -6611,7 +6611,7 @@ Value is a list of the form (LEFT-WIDTH RIGHT-WIDTH OUTSIDE-MARGINS). */)
6611 Scroll bars 6611 Scroll bars
6612 ***********************************************************************/ 6612 ***********************************************************************/
6613 6613
6614DEFUE ("set-window-scroll-bars", Fset_window_scroll_bars, 6614DEFUN ("set-window-scroll-bars", Fset_window_scroll_bars,
6615 Sset_window_scroll_bars, 2, 4, 0, 6615 Sset_window_scroll_bars, 2, 4, 0,
6616 doc: /* Set width and type of scroll bars of window WINDOW. 6616 doc: /* Set width and type of scroll bars of window WINDOW.
6617If window is nil, set scroll bars of the currently selected window. 6617If window is nil, set scroll bars of the currently selected window.
diff --git a/src/xdisp.c b/src/xdisp.c
index ecb0e34ed84..3370d84d67f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -16331,7 +16331,7 @@ dump_glyph_row (row, vpos, glyphs)
16331} 16331}
16332 16332
16333 16333
16334DEFUE ("dump-glyph-matrix", Fdump_glyph_matrix, 16334DEFUN ("dump-glyph-matrix", Fdump_glyph_matrix,
16335 Sdump_glyph_matrix, 0, 1, "p", 16335 Sdump_glyph_matrix, 0, 1, "p",
16336 doc: /* Dump the current matrix of the selected window to stderr. 16336 doc: /* Dump the current matrix of the selected window to stderr.
16337Shows contents of glyph row structures. With non-nil 16337Shows contents of glyph row structures. With non-nil
@@ -16353,7 +16353,7 @@ glyphs in short form, otherwise show glyphs in long form. */)
16353} 16353}
16354 16354
16355 16355
16356DEFUE ("dump-frame-glyph-matrix", Fdump_frame_glyph_matrix, 16356DEFUN ("dump-frame-glyph-matrix", Fdump_frame_glyph_matrix,
16357 Sdump_frame_glyph_matrix, 0, 0, "", doc: /* */) 16357 Sdump_frame_glyph_matrix, 0, 0, "", doc: /* */)
16358 (void) 16358 (void)
16359{ 16359{
@@ -16363,7 +16363,7 @@ DEFUE ("dump-frame-glyph-matrix", Fdump_frame_glyph_matrix,
16363} 16363}
16364 16364
16365 16365
16366DEFUE ("dump-glyph-row", Fdump_glyph_row, Sdump_glyph_row, 1, 2, "", 16366DEFUN ("dump-glyph-row", Fdump_glyph_row, Sdump_glyph_row, 1, 2, "",
16367 doc: /* Dump glyph row ROW to stderr. 16367 doc: /* Dump glyph row ROW to stderr.
16368GLYPH 0 means don't dump glyphs. 16368GLYPH 0 means don't dump glyphs.
16369GLYPH 1 means dump glyphs in short form. 16369GLYPH 1 means dump glyphs in short form.
@@ -16384,7 +16384,7 @@ GLYPH > 1 or omitted means dump glyphs in long form. */)
16384} 16384}
16385 16385
16386 16386
16387DEFUE ("dump-tool-bar-row", Fdump_tool_bar_row, Sdump_tool_bar_row, 1, 2, "", 16387DEFUN ("dump-tool-bar-row", Fdump_tool_bar_row, Sdump_tool_bar_row, 1, 2, "",
16388 doc: /* Dump glyph row ROW of the tool-bar of the current frame to stderr. 16388 doc: /* Dump glyph row ROW of the tool-bar of the current frame to stderr.
16389GLYPH 0 means don't dump glyphs. 16389GLYPH 0 means don't dump glyphs.
16390GLYPH 1 means dump glyphs in short form. 16390GLYPH 1 means dump glyphs in short form.
@@ -16404,7 +16404,7 @@ GLYPH > 1 or omitted means dump glyphs in long form. */)
16404} 16404}
16405 16405
16406 16406
16407DEFUE ("trace-redisplay", Ftrace_redisplay, Strace_redisplay, 0, 1, "P", 16407DEFUN ("trace-redisplay", Ftrace_redisplay, Strace_redisplay, 0, 1, "P",
16408 doc: /* Toggle tracing of redisplay. 16408 doc: /* Toggle tracing of redisplay.
16409With ARG, turn tracing on if and only if ARG is positive. */) 16409With ARG, turn tracing on if and only if ARG is positive. */)
16410 (Lisp_Object arg) 16410 (Lisp_Object arg)
@@ -16421,7 +16421,7 @@ With ARG, turn tracing on if and only if ARG is positive. */)
16421} 16421}
16422 16422
16423 16423
16424DEFUE ("trace-to-stderr", Ftrace_to_stderr, Strace_to_stderr, 1, MANY, "", 16424DEFUN ("trace-to-stderr", Ftrace_to_stderr, Strace_to_stderr, 1, MANY, "",
16425 doc: /* Like `format', but print result to stderr. 16425 doc: /* Like `format', but print result to stderr.
16426usage: (trace-to-stderr STRING &rest OBJECTS) */) 16426usage: (trace-to-stderr STRING &rest OBJECTS) */)
16427 (size_t nargs, Lisp_Object *args) 16427 (size_t nargs, Lisp_Object *args)
diff --git a/src/xfaces.c b/src/xfaces.c
index 6330827b5cc..6d8acd77d87 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -564,7 +564,7 @@ unregister_colors (pixels, n)
564} 564}
565 565
566 566
567DEFUE ("dump-colors", Fdump_colors, Sdump_colors, 0, 0, 0, 567DEFUN ("dump-colors", Fdump_colors, Sdump_colors, 0, 0, 0,
568 doc: /* Dump currently allocated colors to stderr. */) 568 doc: /* Dump currently allocated colors to stderr. */)
569 (void) 569 (void)
570{ 570{
@@ -883,7 +883,7 @@ clear_face_cache (int clear_fonts_p)
883} 883}
884 884
885 885
886DEFUE ("clear-face-cache", Fclear_face_cache, Sclear_face_cache, 0, 1, 0, 886DEFUN ("clear-face-cache", Fclear_face_cache, Sclear_face_cache, 0, 1, 0,
887 doc: /* Clear face caches on all frames. 887 doc: /* Clear face caches on all frames.
888Optional THOROUGHLY non-nil means try to free unused fonts, too. */) 888Optional THOROUGHLY non-nil means try to free unused fonts, too. */)
889 (Lisp_Object thoroughly) 889 (Lisp_Object thoroughly)
@@ -6352,7 +6352,7 @@ dump_realized_face (face)
6352} 6352}
6353 6353
6354 6354
6355DEFUE ("dump-face", Fdump_face, Sdump_face, 0, 1, 0, doc: /* */) 6355DEFUN ("dump-face", Fdump_face, Sdump_face, 0, 1, 0, doc: /* */)
6356 (Lisp_Object n) 6356 (Lisp_Object n)
6357{ 6357{
6358 if (NILP (n)) 6358 if (NILP (n))
@@ -6385,7 +6385,7 @@ DEFUE ("dump-face", Fdump_face, Sdump_face, 0, 1, 0, doc: /* */)
6385} 6385}
6386 6386
6387 6387
6388DEFUE ("show-face-resources", Fshow_face_resources, Sshow_face_resources, 6388DEFUN ("show-face-resources", Fshow_face_resources, Sshow_face_resources,
6389 0, 0, 0, doc: /* */) 6389 0, 0, 0, doc: /* */)
6390 (void) 6390 (void)
6391{ 6391{
diff --git a/src/xfns.c b/src/xfns.c
index 50a56b55614..1182ef8e770 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3495,7 +3495,7 @@ x_get_focus_frame (struct frame *frame)
3495 policy. But I think it's okay to use when it's clearly done 3495 policy. But I think it's okay to use when it's clearly done
3496 following a user-command. */ 3496 following a user-command. */
3497 3497
3498DEFUE ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0, 3498DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0,
3499 doc: /* Set the input focus to FRAME. 3499 doc: /* Set the input focus to FRAME.
3500FRAME nil means use the selected frame. */) 3500FRAME nil means use the selected frame. */)
3501 (Lisp_Object frame) 3501 (Lisp_Object frame)
@@ -3548,7 +3548,7 @@ DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
3548 return Qnil; 3548 return Qnil;
3549} 3549}
3550 3550
3551DEFUE ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0, 3551DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
3552 doc: /* Internal function called by `display-color-p', which see. */) 3552 doc: /* Internal function called by `display-color-p', which see. */)
3553 (Lisp_Object terminal) 3553 (Lisp_Object terminal)
3554{ 3554{
@@ -3570,7 +3570,7 @@ DEFUE ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
3570 } 3570 }
3571} 3571}
3572 3572
3573DEFUE ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, 3573DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p,
3574 0, 1, 0, 3574 0, 1, 0,
3575 doc: /* Return t if the X display supports shades of gray. 3575 doc: /* Return t if the X display supports shades of gray.
3576Note that color displays do support shades of gray. 3576Note that color displays do support shades of gray.
@@ -5198,7 +5198,7 @@ Text larger than the specified size is clipped. */)
5198} 5198}
5199 5199
5200 5200
5201DEFUE ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0, 5201DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0,
5202 doc: /* Hide the current tooltip window, if there is any. 5202 doc: /* Hide the current tooltip window, if there is any.
5203Value is t if tooltip was open, nil otherwise. */) 5203Value is t if tooltip was open, nil otherwise. */)
5204 (void) 5204 (void)
diff --git a/src/xmenu.c b/src/xmenu.c
index 43badb94e54..6e84b845a46 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -203,7 +203,7 @@ mouse_position_for_popup (FRAME_PTR f, int *x, int *y)
203 203
204#ifdef HAVE_MENUS 204#ifdef HAVE_MENUS
205 205
206DEFUE ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 3, 0, 206DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 3, 0,
207 doc: /* Pop up a dialog box and return user's selection. 207 doc: /* Pop up a dialog box and return user's selection.
208POSITION specifies which frame to use. 208POSITION specifies which frame to use.
209This is normally a mouse button event or a window or frame. 209This is normally a mouse button event or a window or frame.
diff --git a/src/xsettings.c b/src/xsettings.c
index 0d312f31bb9..d09b702a428 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -720,7 +720,7 @@ DEFUN ("font-get-system-font", Ffont_get_system_font, Sfont_get_system_font,
720 : Qnil; 720 : Qnil;
721} 721}
722 722
723DEFUE ("tool-bar-get-system-style", Ftool_bar_get_system_style, 723DEFUN ("tool-bar-get-system-style", Ftool_bar_get_system_style,
724 Stool_bar_get_system_style, 0, 0, 0, 724 Stool_bar_get_system_style, 0, 0, 0,
725 doc: /* Get the system tool bar style. 725 doc: /* Get the system tool bar style.
726If no system tool bar style is known, return `tool-bar-style' if set to a 726If no system tool bar style is known, return `tool-bar-style' if set to a