diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-05-19 20:16:07 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-05-19 20:16:07 +0300 |
commit | 3f2e77354eac82e0578242340825de48b631add5 (patch) | |
tree | b34d4dbd4be3a2f8a9d245f99c9117e4e2fdadc4 /lisp/simple.el | |
parent | 8c4ec20f01c11b87bfc37168dcc0454b096e8106 (diff) | |
download | emacs-3f2e77354eac82e0578242340825de48b631add5.tar.gz |
Fix C-e when bidi reordering is in effect.
simple.el (move-end-of-line): Make sure we are at line beginning
before backing up to end of previous line.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 48e1148ae6b..608151e5dd2 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4539,6 +4539,9 @@ rests." (let ((goal-column 0) (line-move-visual nil)) (and (line-move arg t) + ;; With bidi reordering, we may not be at bol, + ;; so make sure we are. + (skip-chars-backward "^\n") (not (bobp)) (progn (while (and (not (bobp)) (invisible-p (1- (point)))) |