浏览代码

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)