aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-06-03 16:34:52 +0300
committerEli Zaretskii2011-06-03 16:34:52 +0300
commit57f97249c8e8673df19219e1f5cba478ea23024d (patch)
treedf06c7f1cdc30c4ff6bf29002c4170f2ac4fd3de
parent662b2d1a705a1d64bcdba7b4845b14eee93d0a87 (diff)
downloademacs-57f97249c8e8673df19219e1f5cba478ea23024d.tar.gz
emacs-57f97249c8e8673df19219e1f5cba478ea23024d.zip
Cleanup. Tested in -nw and verified that bug #7616 didn't become worse.
src/bidi.c (bidi_fetch_char_advance): Remove unused and unimplemented function.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/bidi.c25
2 files changed, 5 insertions, 25 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 12c0bde290b..066a1564431 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-06-03 Eli Zaretskii <eliz@gnu.org>
2
3 * bidi.c (bidi_fetch_char_advance): Remove unused and
4 unimplemented function.
5
12011-05-28 Eli Zaretskii <eliz@gnu.org> 62011-05-28 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (set_cursor_from_row): Set start and stop points 8 * xdisp.c (set_cursor_from_row): Set start and stop points
diff --git a/src/bidi.c b/src/bidi.c
index 17cb1214c73..de189f0cb13 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -630,31 +630,6 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
630 return ch; 630 return ch;
631} 631}
632 632
633/* Looks like we won't need this one. */
634#if 0
635/* Fetch character at CHARPOS/BYTEPOS. Return the character, and
636 advance CHARPOS and BYTEPOS to the next character in logical
637 order. */
638static INLINE int
639bidi_fetch_char_advance (EMACS_INT *charpos, EMACS_INT *bytepos)
640{
641 int ch;
642
643 /* FIXME: Support strings in addition to buffers. */
644 FETCH_CHAR_ADVANCE_NO_CHECK (ch, charpos, bytepos);
645
646#if 0
647 if (...)
648 {
649 /* FIXME: Support characters covered by display strings. */
650 ch = 0xFFFC;
651 }
652#endif
653
654 return ch;
655}
656#endif
657
658/* Find the beginning of this paragraph by looking back in the buffer. 633/* Find the beginning of this paragraph by looking back in the buffer.
659 Value is the byte position of the paragraph's beginning. */ 634 Value is the byte position of the paragraph's beginning. */
660static EMACS_INT 635static EMACS_INT