1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-20 19:24:20 +00:00

Fix bug in positioning notes.

Patch by James Smith.
This commit is contained in:
Carsten Dominik 2008-10-20 07:47:16 +02:00
parent 666d64ba82
commit a6e5bc531d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
* org.el (org-add-log-setup): Bugfix; code to find insertion point
after drawers was skipping ahead one line too many, so notes were
inserted after the first note instead of before it.
2008-10-18 Carsten Dominik <dominik@science.uva.nl>
* org-table.el (orgtbl-to-html): Bind `html-table-tag' for the

View File

@ -8407,7 +8407,8 @@ EXTRA is additional text that will be inserted into the notes buffer."
(while (looking-at org-drawer-regexp)
(goto-char (match-end 0))
(re-search-forward org-property-end-re (point-max) t)
(forward-line))))
(forward-line))
(forward-line -1)))
(unless org-log-states-order-reversed
(and (= (char-after) ?\n) (forward-char 1))
(org-skip-over-state-notes)