소스 검색

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

Nicolas Goaziou 14 년 전
부모
커밋
113818cdf0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)