aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 23:13:04 -0700
committerPaul Eggert2011-04-10 23:13:04 -0700
commite78aecca6069e0ab7e08f359b185339c7130ccbf (patch)
treed0557126416804eb8c7ee7677c59dbc028b42ff5 /src
parente192d7d3242cf00b598116b3277bd514af69fb74 (diff)
downloademacs-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/ChangeLog6
-rw-r--r--src/bidi.c2
-rw-r--r--src/dispextern.h1
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 @@
12011-04-11 Paul Eggert <eggert@cs.ucla.edu> 12011-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
94extern int bidi_ignore_explicit_marks_for_paragraph_level EXTERNALLY_VISIBLE;
94int bidi_ignore_explicit_marks_for_paragraph_level = 1; 95int bidi_ignore_explicit_marks_for_paragraph_level = 1;
95 96
96static Lisp_Object paragraph_start_re, paragraph_separate_re; 97static 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. */
1783void bidi_dump_cached_states (void) EXTERNALLY_VISIBLE;
1782void 1784void
1783bidi_dump_cached_states (void) 1785bidi_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
2945extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); 2945extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *);
2946extern void bidi_move_to_visually_next (struct bidi_it *); 2946extern void bidi_move_to_visually_next (struct bidi_it *);
2947extern void bidi_dump_cached_states (void);
2948extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); 2947extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int);
2949extern int bidi_mirror_char (int); 2948extern int bidi_mirror_char (int);
2950 2949