From a625558f0716212c8a874801d4c36fb7bbd6a1ce Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 12 Feb 2009 16:50:48 +0100 Subject: [PATCH] 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. --- lisp/ChangeLog | 3 +++ lisp/org.el | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b5ca0488..aca19304a 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-02-12 Carsten Dominik + * 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. diff --git a/lisp/org.el b/lisp/org.el index 2c0e5e30f..3384ddeea 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)