浏览代码

Return value of `org-cycle-item-indentation' was broken.

* org-list.el (org-cycle-item-indentation): Do return t if and only if
  cycling is possible and succeded.
Nicolas Goaziou 15 年之前
父节点
当前提交
c4d0151b28
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org-list.el

+ 2 - 2
lisp/org-list.el

@@ -920,8 +920,8 @@ Assumes cursor in item line."
 	(cond
 	 ((ignore-errors (org-indent-item 1)))
 	 ((ignore-errors (org-indent-item -1)))
-	 (t (error "Cannot move item"))))))
-  t)
+	 (t (error "Cannot move item"))))
+      t)))
 
 ;;; Bullets