State Notes: Fix indentation when adding to end

When the variable org-log-states-order-reversed was nil, so that notes
would be appended to the list of notes, the indentation of the item
was wrong.  This commit fixes the problem.
This commit is contained in:
Carsten Dominik 2009-02-12 16:50:48 +01:00
parent d8780dbbee
commit a625558f07
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-store-log-note): Fix note indentation when adding
notes to end of list.
* org-exp.el (org-export-as-html): Add TODO keyword as extra
class, so that each keyword can get special colors through CSS.

View File

@ -9282,7 +9282,6 @@ EXTRA is additional text that will be inserted into the notes buffer."
(move-marker org-log-note-marker nil)
(end-of-line 1)
(if (not (bolp)) (let ((inhibit-read-only t)) (insert "\n")))
(indent-relative nil)
(insert "- " (pop lines))
(org-indent-line-function)
(beginning-of-line 1)