aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2011-08-24 14:49:54 +0300
committerEli Zaretskii2011-08-24 14:49:54 +0300
commit5980d4c6db923da523fbb0e2fb44ecd68b13c53d (patch)
tree8ff36b595125112f39ea288dab1de68a1393e5bb /doc
parent11dcdbb283eb9efddf73939d3c3d12404731833f (diff)
downloademacs-5980d4c6db923da523fbb0e2fb44ecd68b13c53d.tar.gz
emacs-5980d4c6db923da523fbb0e2fb44ecd68b13c53d.zip
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/ChangeLog6
-rw-r--r--doc/lispref/display.texi4
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 @@
12011-08-24 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Bidirectional Display): Document return value in
4 buffers that are not bidi-reordered for display, and in unibyte
5 buffers.
6
12011-08-23 Eli Zaretskii <eliz@gnu.org> 72011-08-23 Eli Zaretskii <eliz@gnu.org>
2 8
3 * nonascii.texi (Character Properties): Document the values for 9 * 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
6104buffer-local value of the variable @code{bidi-paragraph-direction} is 6104buffer-local value of the variable @code{bidi-paragraph-direction} is
6105non-@code{nil}, the returned value will be identical to that value; 6105non-@code{nil}, the returned value will be identical to that value;
6106otherwise, the returned value reflects the paragraph direction 6106otherwise, the returned value reflects the paragraph direction
6107determined dynamically by Emacs. 6107determined dynamically by Emacs. For buffers whose value of
6108@code{bidi-display-reordering} is @code{nil} as well as unibyte
6109buffers, this function always returns @code{left-to-right}.
6108@end defun 6110@end defun
6109 6111
6110@cindex layout on display, and bidirectional text 6112@cindex layout on display, and bidirectional text