aboutsummaryrefslogtreecommitdiffstats
path: root/src/bidi.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-04-10 23:13:04 -0700
committerPaul Eggert <[email protected]>2011-04-10 23:13:04 -0700
commite78aecca6069e0ab7e08f359b185339c7130ccbf (patch)
treed0557126416804eb8c7ee7677c59dbc028b42ff5 /src/bidi.c
parente192d7d3242cf00b598116b3277bd514af69fb74 (diff)
* 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/bidi.c')
-rw-r--r--src/bidi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bidi.c b/src/bidi.c
index 3457e17743..447abb4846 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -91,6 +91,7 @@ typedef enum {
STRONG
} bidi_category_t;
+extern int bidi_ignore_explicit_marks_for_paragraph_level EXTERNALLY_VISIBLE;
int bidi_ignore_explicit_marks_for_paragraph_level = 1;
static Lisp_Object paragraph_start_re, paragraph_separate_re;
@@ -1779,6 +1780,7 @@ bidi_move_to_visually_next (struct bidi_it *bidi_it)
/* This is meant to be called from within the debugger, whenever you
wish to examine the cache contents. */
+void bidi_dump_cached_states (void) EXTERNALLY_VISIBLE;
void
bidi_dump_cached_states (void)
{