소스 검색

Fix typo in plain list demotion code

Reported by Rainer Stengele.
Carsten Dominik 16 년 전
부모
커밋
e5c2547bbe
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-list.el

+ 2 - 0
lisp/ChangeLog

@@ -1,5 +1,7 @@
 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-list.el (org-indent-item): Fix typo.
+
 	* org-html.el (org-export-html-home/up-format): New option.
 	(org-export-as-html): Insert the up and HOME links.
 

+ 1 - 1
lisp/org-list.el

@@ -990,7 +990,7 @@ I.e. to the text after the last item."
     (org-fix-bullet-type
      (and (> arg 0)
 	  (not firstp)
-	  (cdr (assoc (cdr (nth 0 ind-down)) org-list-demote-modify-bullet))))
+	  (cdr (assoc (cdr (nth 0 ind-bul)) org-list-demote-modify-bullet))))
     (org-maybe-renumber-ordered-list-safe)
     (save-excursion
       (beginning-of-line 0)