Selaa lähdekoodia

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

Nicolas Goaziou 14 vuotta sitten
vanhempi
commit
113818cdf0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)