diff options
| author | Joakim Verona | 2013-09-10 23:52:26 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-10 23:52:26 +0200 |
| commit | 63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c (patch) | |
| tree | e5078c5545c777e21944a9ee4199a6f2c6d25ca9 /src/lisp.h | |
| parent | 92aeabcc8a007f521a664e3aee092eb80ad0f49a (diff) | |
| download | emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.tar.gz emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.zip | |
merge upstream
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/src/lisp.h b/src/lisp.h index ef5e54d8cb6..dce1b17146b 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -871,11 +871,7 @@ make_lisp_proc (struct Lisp_Process *p) | |||
| 871 | #define XSETSTRING(a, b) ((a) = make_lisp_ptr (b, Lisp_String)) | 871 | #define XSETSTRING(a, b) ((a) = make_lisp_ptr (b, Lisp_String)) |
| 872 | #define XSETSYMBOL(a, b) ((a) = make_lisp_ptr (b, Lisp_Symbol)) | 872 | #define XSETSYMBOL(a, b) ((a) = make_lisp_ptr (b, Lisp_Symbol)) |
| 873 | #define XSETFLOAT(a, b) ((a) = make_lisp_ptr (b, Lisp_Float)) | 873 | #define XSETFLOAT(a, b) ((a) = make_lisp_ptr (b, Lisp_Float)) |
| 874 | |||
| 875 | /* Misc types. */ | ||
| 876 | |||
| 877 | #define XSETMISC(a, b) ((a) = make_lisp_ptr (b, Lisp_Misc)) | 874 | #define XSETMISC(a, b) ((a) = make_lisp_ptr (b, Lisp_Misc)) |
| 878 | #define XSETMARKER(a, b) (XSETMISC (a, b), XMISCTYPE (a) = Lisp_Misc_Marker) | ||
| 879 | 875 | ||
| 880 | /* Pseudovector types. */ | 876 | /* Pseudovector types. */ |
| 881 | 877 | ||
| @@ -2639,19 +2635,6 @@ typedef jmp_buf sys_jmp_buf; | |||
| 2639 | they are bound by a function application or a let form, stores the | 2635 | they are bound by a function application or a let form, stores the |
| 2640 | code to be executed for unwind-protect forms. | 2636 | code to be executed for unwind-protect forms. |
| 2641 | 2637 | ||
| 2642 | If func is non-zero, undoing this binding applies func to old_value; | ||
| 2643 | This implements record_unwind_protect. | ||
| 2644 | |||
| 2645 | Otherwise, the element is a variable binding. | ||
| 2646 | |||
| 2647 | If the symbol field is a symbol, it is an ordinary variable binding. | ||
| 2648 | |||
| 2649 | Otherwise, it should be a structure (SYMBOL WHERE . CURRENT-BUFFER), | ||
| 2650 | which means having bound a local value while CURRENT-BUFFER was active. | ||
| 2651 | If WHERE is nil this means we saw the default value when binding SYMBOL. | ||
| 2652 | WHERE being a buffer or frame means we saw a buffer-local or frame-local | ||
| 2653 | value. Other values of WHERE mean an internal error. | ||
| 2654 | |||
| 2655 | NOTE: The specbinding union is defined here, because SPECPDL_INDEX is | 2638 | NOTE: The specbinding union is defined here, because SPECPDL_INDEX is |
| 2656 | used all over the place, needs to be fast, and needs to know the size of | 2639 | used all over the place, needs to be fast, and needs to know the size of |
| 2657 | union specbinding. But only eval.c should access it. */ | 2640 | union specbinding. But only eval.c should access it. */ |
| @@ -3381,9 +3364,6 @@ extern Lisp_Object Qglyphless_char; | |||
| 3381 | extern Lisp_Object QCdata, QCfile; | 3364 | extern Lisp_Object QCdata, QCfile; |
| 3382 | extern Lisp_Object QCmap; | 3365 | extern Lisp_Object QCmap; |
| 3383 | extern Lisp_Object Qrisky_local_variable; | 3366 | extern Lisp_Object Qrisky_local_variable; |
| 3384 | extern struct frame *last_glyphless_glyph_frame; | ||
| 3385 | extern int last_glyphless_glyph_face_id; | ||
| 3386 | extern int last_glyphless_glyph_merged_face_id; | ||
| 3387 | extern int noninteractive_need_newline; | 3367 | extern int noninteractive_need_newline; |
| 3388 | extern Lisp_Object echo_area_buffer[2]; | 3368 | extern Lisp_Object echo_area_buffer[2]; |
| 3389 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); | 3369 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); |
| @@ -3485,7 +3465,7 @@ build_unibyte_string (const char *str) | |||
| 3485 | } | 3465 | } |
| 3486 | 3466 | ||
| 3487 | extern Lisp_Object make_multibyte_string (const char *, ptrdiff_t, ptrdiff_t); | 3467 | extern Lisp_Object make_multibyte_string (const char *, ptrdiff_t, ptrdiff_t); |
| 3488 | extern Lisp_Object make_event_array (int, Lisp_Object *); | 3468 | extern Lisp_Object make_event_array (ptrdiff_t, Lisp_Object *); |
| 3489 | extern Lisp_Object make_uninit_string (EMACS_INT); | 3469 | extern Lisp_Object make_uninit_string (EMACS_INT); |
| 3490 | extern Lisp_Object make_uninit_multibyte_string (EMACS_INT, EMACS_INT); | 3470 | extern Lisp_Object make_uninit_multibyte_string (EMACS_INT, EMACS_INT); |
| 3491 | extern Lisp_Object make_string_from_bytes (const char *, ptrdiff_t, ptrdiff_t); | 3471 | extern Lisp_Object make_string_from_bytes (const char *, ptrdiff_t, ptrdiff_t); |
| @@ -3839,8 +3819,8 @@ extern ptrdiff_t fast_looking_at (Lisp_Object, ptrdiff_t, ptrdiff_t, | |||
| 3839 | ptrdiff_t, ptrdiff_t, Lisp_Object); | 3819 | ptrdiff_t, ptrdiff_t, Lisp_Object); |
| 3840 | extern ptrdiff_t find_newline (ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t, | 3820 | extern ptrdiff_t find_newline (ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t, |
| 3841 | ptrdiff_t, ptrdiff_t *, ptrdiff_t *, bool); | 3821 | ptrdiff_t, ptrdiff_t *, ptrdiff_t *, bool); |
| 3842 | extern EMACS_INT scan_newline (ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t, | 3822 | extern ptrdiff_t scan_newline (ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t, |
| 3843 | EMACS_INT, bool); | 3823 | ptrdiff_t, bool); |
| 3844 | extern ptrdiff_t find_newline_no_quit (ptrdiff_t, ptrdiff_t, | 3824 | extern ptrdiff_t find_newline_no_quit (ptrdiff_t, ptrdiff_t, |
| 3845 | ptrdiff_t, ptrdiff_t *); | 3825 | ptrdiff_t, ptrdiff_t *); |
| 3846 | extern ptrdiff_t find_before_next_newline (ptrdiff_t, ptrdiff_t, | 3826 | extern ptrdiff_t find_before_next_newline (ptrdiff_t, ptrdiff_t, |