Browse Source

Minor fix

Carsten Dominik 16 years ago
parent
commit
d8e44c1fa0
2 changed files with 2 additions and 3 deletions
  1. 1 2
      lisp/org-html.el
  2. 1 1
      lisp/org.el

+ 1 - 2
lisp/org-html.el

@@ -1873,8 +1873,7 @@ If there are links in the string, don't modify these."
 	didclose)
     (when ind
       (while (and in-local-list
-		  (or (= ind (car local-list-indent))
-		      (< ind (car local-list-indent))))
+		  (<= ind (car local-list-indent)))
 	(setq didclose t)
 	(org-close-li (car local-list-type))
 	(insert (format "</%sl>\n" (car local-list-type)))

+ 1 - 1
lisp/org.el

@@ -6808,7 +6808,7 @@ the language, a switch telling of the content should be in a single line."
 	    ("^[ \t]*#\\+begin_docbook.*\n" "\n[ \t]*#\\+end_docbook" "xml")
 	    )))
 	(pos (point))
-	re1 re2 single beg end lang lfmt match-re1)
+	re1 re2 single beg end lang lfmt match-re1 ind)
     (catch 'exit
       (while (setq entry (pop re-list))
 	(setq re1 (car entry) re2 (nth 1 entry) lang (nth 2 entry)