Mercurial > emacs
comparison src/msdos.c @ 109179:8cfee7d2955f
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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 08 Jul 2010 14:25:08 -0700 |
parents | 750db9f3e6d8 |
children | 379a5ad9f30b |
comparison
equal
deleted
inserted
replaced
109178:53f8ebcd9a97 | 109179:8cfee7d2955f |
---|---|
193 1, 1, "NSet number of mouse buttons to: ", | 193 1, 1, "NSet number of mouse buttons to: ", |
194 doc: /* Set the number of mouse buttons to use by Emacs. | 194 doc: /* Set the number of mouse buttons to use by Emacs. |
195 This is useful with mice that report the number of buttons inconsistently, | 195 This is useful with mice that report the number of buttons inconsistently, |
196 e.g., if the number of buttons is reported as 3, but Emacs only sees 2 of | 196 e.g., if the number of buttons is reported as 3, but Emacs only sees 2 of |
197 them. This happens with wheeled mice on Windows 9X, for example. */) | 197 them. 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 |
203 CHECK_NUMBER (nbuttons); | 202 CHECK_NUMBER (nbuttons); |
204 n = XINT (nbuttons); | 203 n = XINT (nbuttons); |
2043 /* Remember the screen colors of the curent frame, to serve as the | 2042 /* Remember the screen colors of the curent frame, to serve as the |
2044 default colors for newly-created frames. */ | 2043 default colors for newly-created frames. */ |
2045 DEFUN ("msdos-remember-default-colors", Fmsdos_remember_default_colors, | 2044 DEFUN ("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 |
2053 CHECK_FRAME (frame); | 2051 CHECK_FRAME (frame); |
2054 f = XFRAME (frame); | 2052 f = XFRAME (frame); |
2918 | 2916 |
2919 DEFUN ("recent-doskeys", Frecent_doskeys, Srecent_doskeys, 0, 0, 0, | 2917 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. |
2921 Each input key receives two values in this vector: first the ASCII code, | 2919 Each input key receives two values in this vector: first the ASCII code, |
2922 and then the scan code. */) | 2920 and 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 |
2927 if (total_doskeys < NUM_RECENT_DOSKEYS) | 2925 if (total_doskeys < NUM_RECENT_DOSKEYS) |
2928 return Fvector (total_doskeys, keys); | 2926 return Fvector (total_doskeys, keys); |
3952 } | 3950 } |
3953 | 3951 |
3954 DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names, | 3952 DEFUN ("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 } |
3961 | 3959 |
3962 /* Convert alphabetic characters in a filename to lower-case. */ | 3960 /* Convert alphabetic characters in a filename to lower-case. */ |
3986 1, 1, 0, | 3984 1, 1, 0, |
3987 doc: /* Convert alphabetic characters in FILENAME to lower case and return that. | 3985 doc: /* Convert alphabetic characters in FILENAME to lower case and return that. |
3988 When long filenames are supported, doesn't change FILENAME. | 3986 When long filenames are supported, doesn't change FILENAME. |
3989 If FILENAME is not a string, returns nil. | 3987 If FILENAME is not a string, returns nil. |
3990 The argument object is never altered--the value is a copy. */) | 3988 The 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 |
3996 if (! STRINGP (filename)) | 3993 if (! STRINGP (filename)) |
3997 return Qnil; | 3994 return Qnil; |