aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 936037f5caa..8b04534455d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3688,7 +3688,8 @@ If ARG is zero, move to the beginning of the current line."
3688 (assq prop buffer-invisibility-spec)))))) 3688 (assq prop buffer-invisibility-spec))))))
3689 (skip-chars-forward "^\n") 3689 (skip-chars-forward "^\n")
3690 (if (get-text-property (point) 'invisible) 3690 (if (get-text-property (point) 'invisible)
3691 (goto-char (next-single-property-change (point) 'invisible)) 3691 (goto-char (or (next-single-property-change (point) 'invisible)
3692 (point-max)))
3692 (goto-char (next-overlay-change (point)))) 3693 (goto-char (next-overlay-change (point))))
3693 (end-of-line))) 3694 (end-of-line)))
3694 3695