Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
c4d0151b28
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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