aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-08 14:25:08 -0700
committerDan Nicolaescu2010-07-08 14:25:08 -0700
commit5842a27bbfb7efa6872824e501bc7ec98b631553 (patch)
treed173899af9cbed9d90d94cfc710e6ecc06dd1f6b /src/msdos.c
parent71c44c04bb996abe77db8efd88255fde06532b10 (diff)
downloademacs-5842a27bbfb7efa6872824e501bc7ec98b631553.tar.gz
emacs-5842a27bbfb7efa6872824e501bc7ec98b631553.zip
Convert DEFUNs to standard C.
* src/alloc.c: Convert DEFUNs to standard C. * src/buffer.c: * src/bytecode.c: * src/callint.c: * src/callproc.c: * src/casefiddle.c: * src/casetab.c: * src/category.c: * src/character.c: * src/charset.c: * src/chartab.c: * src/cmds.c: * src/coding.c: * src/composite.c: * src/data.c: * src/dbusbind.c: * src/dired.c: * src/dispnew.c: * src/doc.c: * src/dosfns.c: * src/editfns.c: * src/emacs.c: * src/eval.c: * src/fileio.c: * src/filelock.c: * src/floatfns.c: * src/fns.c: * src/font.c: * src/fontset.c: * src/frame.c: * src/fringe.c: * src/image.c: * src/indent.c: * src/insdel.c: * src/keyboard.c: * src/keymap.c: * src/lread.c: * src/macros.c: * src/marker.c: * src/menu.c: * src/minibuf.c: * src/msdos.c: * src/nsfns.m: * src/nsmenu.m: * src/nsselect.m: * src/print.c: * src/process.c: * src/search.c: * src/sound.c: * src/syntax.c: * src/term.c: * src/terminal.c: * src/textprop.c: * src/undo.c: * src/w16select.c: * src/w32console.c: * src/w32fns.c: * src/w32font.c: * src/w32menu.c: * src/w32proc.c: * src/w32select.c: * src/window.c: * src/xdisp.c: * src/xfaces.c: * src/xfns.c: * src/xmenu.c: * src/xselect.c: * src/xsettings.c: * src/xsmfns.c: Likewise.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 897963bb24a..668243ef422 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -195,8 +195,7 @@ DEFUN ("msdos-set-mouse-buttons", Fmsdos_set_mouse_buttons, Smsdos_set_mouse_but
195This is useful with mice that report the number of buttons inconsistently, 195This is useful with mice that report the number of buttons inconsistently,
196e.g., if the number of buttons is reported as 3, but Emacs only sees 2 of 196e.g., if the number of buttons is reported as 3, but Emacs only sees 2 of
197them. This happens with wheeled mice on Windows 9X, for example. */) 197them. This happens with wheeled mice on Windows 9X, for example. */)
198 (nbuttons) 198 (Lisp_Object nbuttons)
199 Lisp_Object nbuttons;
200{ 199{
201 int n; 200 int n;
202 201
@@ -2045,8 +2044,7 @@ IT_set_terminal_window (struct frame *f, int foo)
2045DEFUN ("msdos-remember-default-colors", Fmsdos_remember_default_colors, 2044DEFUN ("msdos-remember-default-colors", Fmsdos_remember_default_colors,
2046 Smsdos_remember_default_colors, 1, 1, 0, 2045 Smsdos_remember_default_colors, 1, 1, 0,
2047 doc: /* Remember the screen colors of the current frame. */) 2046 doc: /* Remember the screen colors of the current frame. */)
2048 (frame) 2047 (Lisp_Object frame)
2049 Lisp_Object frame;
2050{ 2048{
2051 struct frame *f; 2049 struct frame *f;
2052 2050
@@ -2920,7 +2918,7 @@ DEFUN ("recent-doskeys", Frecent_doskeys, Srecent_doskeys, 0, 0, 0,
2920 doc: /* Return vector of last 100 keyboard input values seen in dos_rawgetc. 2918 doc: /* Return vector of last 100 keyboard input values seen in dos_rawgetc.
2921Each input key receives two values in this vector: first the ASCII code, 2919Each input key receives two values in this vector: first the ASCII code,
2922and then the scan code. */) 2920and then the scan code. */)
2923 () 2921 (void)
2924{ 2922{
2925 Lisp_Object val, *keys = XVECTOR (recent_doskeys)->contents; 2923 Lisp_Object val, *keys = XVECTOR (recent_doskeys)->contents;
2926 2924
@@ -3954,7 +3952,7 @@ crlf_to_lf (int n, unsigned char *buf)
3954DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names, 3952DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names,
3955 0, 0, 0, 3953 0, 0, 0,
3956 doc: /* Return non-nil if long file names are supported on MS-DOS. */) 3954 doc: /* Return non-nil if long file names are supported on MS-DOS. */)
3957 () 3955 (void)
3958{ 3956{
3959 return (_USE_LFN ? Qt : Qnil); 3957 return (_USE_LFN ? Qt : Qnil);
3960} 3958}
@@ -3988,8 +3986,7 @@ DEFUN ("msdos-downcase-filename", Fmsdos_downcase_filename, Smsdos_downcase_file
3988When long filenames are supported, doesn't change FILENAME. 3986When long filenames are supported, doesn't change FILENAME.
3989If FILENAME is not a string, returns nil. 3987If FILENAME is not a string, returns nil.
3990The argument object is never altered--the value is a copy. */) 3988The argument object is never altered--the value is a copy. */)
3991 (filename) 3989 (Lisp_Object filename)
3992 Lisp_Object filename;
3993{ 3990{
3994 Lisp_Object tem; 3991 Lisp_Object tem;
3995 3992