diff options
| author | Paul Eggert | 2011-04-10 23:13:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-10 23:13:04 -0700 |
| commit | e78aecca6069e0ab7e08f359b185339c7130ccbf (patch) | |
| tree | d0557126416804eb8c7ee7677c59dbc028b42ff5 /src | |
| parent | e192d7d3242cf00b598116b3277bd514af69fb74 (diff) | |
| download | emacs-e78aecca6069e0ab7e08f359b185339c7130ccbf.tar.gz emacs-e78aecca6069e0ab7e08f359b185339c7130ccbf.zip | |
* bidi.c (bidi_dump_cached_states): Mark as externally visible,
so that it's not optimized away.
(bidi_ignore_explicit_marks_for_paragraph_level): Likewise.
* dispextern.h (bidi_dump_cached_states): Remove, since it's
exported only to the debugger.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/bidi.c | 2 | ||||
| -rw-r--r-- | src/dispextern.h | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 35712e47520..f2abbc8ed5c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * bidi.c (bidi_dump_cached_states): Mark as externally visible, | ||
| 4 | so that it's not optimized away. | ||
| 5 | (bidi_ignore_explicit_marks_for_paragraph_level): Likewise. | ||
| 6 | * dispextern.h (bidi_dump_cached_states): Remove, since it's | ||
| 7 | exported only to the debugger. | ||
| 8 | |||
| 3 | * atimer.c (alarm_signal_handler, run_all_atimers): Now static. | 9 | * atimer.c (alarm_signal_handler, run_all_atimers): Now static. |
| 4 | * atimer.h (run_all_atimers): Removed; not exported. | 10 | * atimer.h (run_all_atimers): Removed; not exported. |
| 5 | 11 | ||
diff --git a/src/bidi.c b/src/bidi.c index 3457e177436..447abb48469 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -91,6 +91,7 @@ typedef enum { | |||
| 91 | STRONG | 91 | STRONG |
| 92 | } bidi_category_t; | 92 | } bidi_category_t; |
| 93 | 93 | ||
| 94 | extern int bidi_ignore_explicit_marks_for_paragraph_level EXTERNALLY_VISIBLE; | ||
| 94 | int bidi_ignore_explicit_marks_for_paragraph_level = 1; | 95 | int bidi_ignore_explicit_marks_for_paragraph_level = 1; |
| 95 | 96 | ||
| 96 | static Lisp_Object paragraph_start_re, paragraph_separate_re; | 97 | static Lisp_Object paragraph_start_re, paragraph_separate_re; |
| @@ -1779,6 +1780,7 @@ bidi_move_to_visually_next (struct bidi_it *bidi_it) | |||
| 1779 | 1780 | ||
| 1780 | /* This is meant to be called from within the debugger, whenever you | 1781 | /* This is meant to be called from within the debugger, whenever you |
| 1781 | wish to examine the cache contents. */ | 1782 | wish to examine the cache contents. */ |
| 1783 | void bidi_dump_cached_states (void) EXTERNALLY_VISIBLE; | ||
| 1782 | void | 1784 | void |
| 1783 | bidi_dump_cached_states (void) | 1785 | bidi_dump_cached_states (void) |
| 1784 | { | 1786 | { |
diff --git a/src/dispextern.h b/src/dispextern.h index fd474dc6ae5..d957955ee33 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2944,7 +2944,6 @@ enum tool_bar_item_image | |||
| 2944 | 2944 | ||
| 2945 | extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); | 2945 | extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); |
| 2946 | extern void bidi_move_to_visually_next (struct bidi_it *); | 2946 | extern void bidi_move_to_visually_next (struct bidi_it *); |
| 2947 | extern void bidi_dump_cached_states (void); | ||
| 2948 | extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); | 2947 | extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); |
| 2949 | extern int bidi_mirror_char (int); | 2948 | extern int bidi_mirror_char (int); |
| 2950 | 2949 | ||