X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/9850eff524bd0747a9561f3b4c90dfc3749f4ecb..8510724d46951d651a78424e12b93ccee100c665:/src/lisp.h diff --git a/src/lisp.h b/src/lisp.h index d013a04553..ea34e83629 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1,6 +1,6 @@ /* Fundamental definitions for GNU Emacs Lisp interpreter. Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1843,8 +1843,8 @@ extern char *stack_bottom; and (in particular) cannot call arbitrary Lisp code. */ #ifdef SYNC_INPUT -extern void handle_async_input P_ ((void)); -extern int interrupt_input_pending; +extern void process_pending_signals P_ ((void)); +extern int pending_signals; #define QUIT \ do { \ @@ -1856,8 +1856,8 @@ extern int interrupt_input_pending; Fthrow (Vthrow_on_input, Qt); \ Fsignal (Qquit, Qnil); \ } \ - else if (interrupt_input_pending) \ - handle_async_input (); \ + else if (pending_signals) \ + process_pending_signals (); \ } while (0) #else /* not SYNC_INPUT */ @@ -2841,7 +2841,6 @@ extern void set_time_zone_rule P_ ((char *)); /* defined in buffer.c */ extern int mouse_face_overlay_overlaps P_ ((Lisp_Object)); extern void nsberror P_ ((Lisp_Object)) NO_RETURN; -extern char *no_switch_window P_ ((Lisp_Object window)); EXFUN (Fset_buffer_multibyte, 1); EXFUN (Foverlay_start, 1); EXFUN (Foverlay_end, 1); @@ -3064,11 +3063,11 @@ extern Lisp_Object Vx_resource_class; extern Lisp_Object Qvisible; extern void store_frame_param P_ ((struct frame *, Lisp_Object, Lisp_Object)); extern void store_in_alist P_ ((Lisp_Object *, Lisp_Object, Lisp_Object)); -extern Lisp_Object do_switch_frame P_ ((Lisp_Object, int, int)); +extern Lisp_Object do_switch_frame P_ ((Lisp_Object, int, int, Lisp_Object)); extern Lisp_Object get_frame_param P_ ((struct frame *, Lisp_Object)); extern Lisp_Object frame_buffer_predicate P_ ((Lisp_Object)); EXFUN (Fframep, 1); -EXFUN (Fselect_frame, 1); +EXFUN (Fselect_frame, 2); EXFUN (Fselected_frame, 0); EXFUN (Fwindow_frame, 1); EXFUN (Fframe_root_window, 1); @@ -3092,7 +3091,7 @@ EXFUN (Fset_frame_size, 3); EXFUN (Fset_frame_position, 3); EXFUN (Fraise_frame, 1); EXFUN (Fredirect_frame_focus, 2); -EXFUN (Fset_frame_selected_window, 2); +EXFUN (Fset_frame_selected_window, 3); extern Lisp_Object frame_buffer_list P_ ((Lisp_Object)); extern void frames_discard_buffer P_ ((Lisp_Object)); extern void set_frame_buffer_list P_ ((Lisp_Object, Lisp_Object)); @@ -3102,6 +3101,7 @@ extern void syms_of_frame P_ ((void)); /* defined in emacs.c */ extern Lisp_Object decode_env_path P_ ((char *, char *)); extern Lisp_Object Vinvocation_name, Vinvocation_directory; +extern Lisp_Object Vbefore_init_time, Vafter_init_time; extern Lisp_Object Vinstallation_directory; extern Lisp_Object empty_unibyte_string, empty_multibyte_string; EXFUN (Fkill_emacs, 1); @@ -3118,6 +3118,12 @@ void synchronize_system_time_locale P_ ((void)); void shut_down_emacs P_ ((int, int, Lisp_Object)); /* Nonzero means don't do interactive redisplay and don't change tty modes */ extern int noninteractive; + +/* Pipe used to send exit notification to the daemon parent at + startup. */ +extern int daemon_pipe[2]; +#define IS_DAEMON (daemon_pipe[1] != 0) + /* Nonzero means don't do use window-system-specific display code */ extern int inhibit_window_system; /* Nonzero means that a filter or a sentinel is running. */