diff options
| author | Dan Nicolaescu | 2010-07-28 22:48:06 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-28 22:48:06 -0700 |
| commit | e6cba65065d7002d181c3d440bfc5e04ba953783 (patch) | |
| tree | d1cf831f51063d886b8cae457a40ab0286515286 /src/keyboard.h | |
| parent | b27f3b2f5262ce5d4f106394988acf2e44243686 (diff) | |
| download | emacs-e6cba65065d7002d181c3d440bfc5e04ba953783.tar.gz emacs-e6cba65065d7002d181c3d440bfc5e04ba953783.zip | |
Remove extern declarations from .c files, and them to .h files.
* src/xsmfns.c (Vuser_login_name):
* src/xrdb.c (Vdouble_click_time):
* src/xfaces.c (xic_create_fontsetname):
* src/w32select.c (waiting_for_input):
* src/print.c (minibuffer_auto_raise):
* src/msdos.c (Qhelp_echo):
* src/macros.c (real_this_command):
* src/keymap.c (Voverriding_local_map):
* src/xterm.c (poll_for_input_1, gray_bitmap_width)
(gray_bitmap_height, gray_bitmap_bits;
* src/xmenu.c ( Voverriding_local_map)
(Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
(use_file_dialog, Xt_app_con):
* src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
(Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
(Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
(Qtool_bar_lines, ignore_mouse_drag_p):
* src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
(Qrear_nonsticky, nconc2):
* src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
(Vhistory_length, Vtranslation_table_for_input, Qcomposition)
(Qdisplay, Qafter_string, Qbefore_string, Qundefined):
* src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
(minibuf_level, minibuffer_auto_raise, lisp_time_argument):
* src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
(gc_in_progress):
* src/doc.c (Voverriding_local_map, Qremap):
* src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list):
* src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
(Qcompletion_ignore_case):
* src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
(Vhistory_length, Vthis_original_command, real_this_command)
(Qface, Qminibuffer_prompt, history_delete_duplicates):
* src/image.c (Qrisky_local_variable):
* src/fontset.c (QCname):
* src/fns.c (minibuffer_auto_raise, QCname):
* src/dispnew.c (char_ins_del_cost):
* src/composite.c (font_fill_lglyph_metrics):
* src/cmds.c (Qface, Vtranslation_table_for_input):
* src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
* src/ccl.c (charset_unicode):
* src/callproc.c (Vtemporary_file_directory):
* src/buffer.c (emacs_strerror): Remove extern declarations.
Remove extern declarations from .c files, and them to .h files.
* src/keyboard.h (Qhelp_echo, waiting_for_input)
(input_available_clear_time, ignore_mouse_drag_p)
(Vdouble_click_time, real_this_command, Vthis_original_command):
* src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
(Voverriding_local_map_menu_flag):
* src/lisp.h (Qinteractive_form, use_file_dialog)
(Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
(Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
(QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
(Qfunction, debug_on_next_call, Qfield)
(Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
(Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
(Qfile_directory_p, Qinsert_file_contents)
(Qcompletion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
(history_delete_duplicates, minibuffer_auto_raise, Qonly)
(Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
(Qminibuffer_prompt)
(Vtemporary_file_directory,char_ins_del_vector, Qface):
* src/xterm.h (gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits, xic_create_fontsetname):
* src/coding.h (Vtranslation_table_for_input): Add extern declarations.
* src/data.c (Qwindow): Make non-static, used from other files too.
* src/frame.c (validate_x_resource_name): Remove shadow definition for i.
Diffstat (limited to 'src/keyboard.h')
| -rw-r--r-- | src/keyboard.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 648b1501406..7a04cf0425f 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -422,6 +422,8 @@ extern Lisp_Object Qevent_kind, Qevent_symbol_elements; | |||
| 422 | extern Lisp_Object Qfunction_key, Qmouse_click, Qmouse_movement; | 422 | extern Lisp_Object Qfunction_key, Qmouse_click, Qmouse_movement; |
| 423 | extern Lisp_Object Qscroll_bar_movement; | 423 | extern Lisp_Object Qscroll_bar_movement; |
| 424 | 424 | ||
| 425 | extern Lisp_Object Qhelp_echo; | ||
| 426 | |||
| 425 | /* Getting the kind of an event head. */ | 427 | /* Getting the kind of an event head. */ |
| 426 | #define EVENT_HEAD_KIND(event_head) \ | 428 | #define EVENT_HEAD_KIND(event_head) \ |
| 427 | (Fget ((event_head), Qevent_kind)) | 429 | (Fget ((event_head), Qevent_kind)) |
| @@ -429,6 +431,17 @@ extern Lisp_Object Qscroll_bar_movement; | |||
| 429 | /* Symbols to use for non-text mouse positions. */ | 431 | /* Symbols to use for non-text mouse positions. */ |
| 430 | extern Lisp_Object Qmode_line, Qvertical_line, Qheader_line; | 432 | extern Lisp_Object Qmode_line, Qvertical_line, Qheader_line; |
| 431 | 433 | ||
| 434 | /* True while doing kbd input. */ | ||
| 435 | extern int waiting_for_input; | ||
| 436 | |||
| 437 | /* Address (if not 0) of EMACS_TIME to zero out if a SIGIO interrupt | ||
| 438 | happens. */ | ||
| 439 | extern EMACS_TIME *input_available_clear_time; | ||
| 440 | |||
| 441 | extern int ignore_mouse_drag_p; | ||
| 442 | |||
| 443 | extern Lisp_Object Vdouble_click_time; | ||
| 444 | |||
| 432 | /* Forward declaration for prototypes. */ | 445 | /* Forward declaration for prototypes. */ |
| 433 | struct input_event; | 446 | struct input_event; |
| 434 | 447 | ||
| @@ -445,6 +458,13 @@ extern Lisp_Object Vfunction_key_map; | |||
| 445 | /* Keymap of key translations that can override keymaps. */ | 458 | /* Keymap of key translations that can override keymaps. */ |
| 446 | extern Lisp_Object Vkey_translation_map; | 459 | extern Lisp_Object Vkey_translation_map; |
| 447 | 460 | ||
| 461 | /* This is like Vthis_command, except that commands never set it. */ | ||
| 462 | extern Lisp_Object real_this_command; | ||
| 463 | |||
| 464 | /* If the lookup of the command returns a binding, the original | ||
| 465 | command is stored in this-original-command. It is nil otherwise. */ | ||
| 466 | extern Lisp_Object Vthis_original_command; | ||
| 467 | |||
| 448 | extern int parse_menu_item (Lisp_Object, int); | 468 | extern int parse_menu_item (Lisp_Object, int); |
| 449 | 469 | ||
| 450 | extern void echo_now (void); | 470 | extern void echo_now (void); |