Browse Source

Bug fix: infinite loop while looking for top point with indent method

Nicolas Goaziou 14 years ago
parent
commit
113818cdf0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-list.el

+ 1 - 1
lisp/org-list.el

@@ -444,7 +444,7 @@ List ending is determined by indentation of text. See
              (while t
                (cond
 		((not prev-p) (throw 'exit (1+ (point-at-eol))))
-		((= limit prev-p) (throw 'exit limit))
+		((= (point) prev-p) (throw 'exit prev-p))
 		(t
 		 (goto-char prev-p)
 		 (beginning-of-line 0)