Quellcode durchsuchen

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.
Carsten Dominik vor 16 Jahren
Ursprung
Commit
a625558f07
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 0
      lisp/ChangeLog
  2. 0 1
      lisp/org.el

+ 3 - 0
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.
 

+ 0 - 1
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)