summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2009-02-12 16:50:48 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2009-02-12 18:29:56 +0100
commita625558f0716212c8a874801d4c36fb7bbd6a1ce (patch)
treec31c88f1fd26d8075bd1a19e4c18ea71dbee1d54
parentd8780dbbee10005d234fd33565b552d9f8ec6450 (diff)
downloadorg-mode-a625558f0716212c8a874801d4c36fb7bbd6a1ce.tar.gz
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.
-rwxr-xr-xlisp/ChangeLog3
-rw-r--r--lisp/org.el1
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b5ca04..aca1930 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/org.el b/lisp/org.el
index 2c0e5e3..3384dde 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)