diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-08-24 14:49:54 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-08-24 14:49:54 +0300 |
commit | 5980d4c6db923da523fbb0e2fb44ecd68b13c53d (patch) | |
tree | 8ff36b595125112f39ea288dab1de68a1393e5bb /doc | |
parent | 11dcdbb283eb9efddf73939d3c3d12404731833f (diff) | |
download | emacs-5980d4c6db923da523fbb0e2fb44ecd68b13c53d.tar.gz |
Fix current-bidi-paragraph-direction and its doc.
src/xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte
buffers, return left-to-right.
doc/lispref/display.texi (Bidirectional Display): Document return value in
buffers that are not bidi-reordered for display, and in unibyte
buffers.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
-rw-r--r-- | doc/lispref/display.texi | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 43add469ec0..4bf615328b1 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,9 @@ +2011-08-24 Eli Zaretskii <eliz@gnu.org> + + * display.texi (Bidirectional Display): Document return value in + buffers that are not bidi-reordered for display, and in unibyte + buffers. + 2011-08-23 Eli Zaretskii <eliz@gnu.org> * nonascii.texi (Character Properties): Document the values for diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 8f7f4003411..0593eba8f05 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -6104,7 +6104,9 @@ omitted or @code{nil}, it defaults to the current buffer. If the buffer-local value of the variable @code{bidi-paragraph-direction} is non-@code{nil}, the returned value will be identical to that value; otherwise, the returned value reflects the paragraph direction -determined dynamically by Emacs. +determined dynamically by Emacs. For buffers whose value of +@code{bidi-display-reordering} is @code{nil} as well as unibyte +buffers, this function always returns @code{left-to-right}. @end defun @cindex layout on display, and bidirectional text |