aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/outline.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el
index 6a667e749d1..9a58c0997a5 100644
--- a/lisp/textmodes/outline.el
+++ b/lisp/textmodes/outline.el
@@ -704,7 +704,7 @@ Stop at the first and last subheadings of a superior heading."
704 (error "No previous same-level heading")))))) 704 (error "No previous same-level heading"))))))
705 705
706(defun outline-get-last-sibling () 706(defun outline-get-last-sibling ()
707 "Move to next heading of the same level, and return point or nil if none." 707 "Move to previous heading of the same level, and return point or nil if none."
708 (let ((level (funcall outline-level))) 708 (let ((level (funcall outline-level)))
709 (outline-previous-visible-heading 1) 709 (outline-previous-visible-heading 1)
710 (while (and (> (funcall outline-level) level) 710 (while (and (> (funcall outline-level) level)