Fix empty-line problem after repeating entry
Tom writes: > if I have a heading like this: > > > ** TODO test task > stuff > SCHEDULED: <2010-05-15 Sat 07:35 +1d> > > > Then an empty line is inserted below the heading (before "stuff") if > org-indent-mode is on and logging is set like this: > > > (setq org-log-repeat nil) > (setq org-log-done 'time) > > > > I tested it with a clean config using only the settings above.
This commit is contained in:
parent
3cb349c039
commit
d180631686
|
@ -1,5 +1,8 @@
|
||||||
2010-05-19 Carsten Dominik <carsten.dominik@gmail.com>
|
2010-05-19 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org.el (org-add-planning-info): Remove the empty line also
|
||||||
|
if there is no whitespace at all in there.
|
||||||
|
|
||||||
* org-table.el (org-table-align): Fix alignment of strings
|
* org-table.el (org-table-align): Fix alignment of strings
|
||||||
with invisible characters.
|
with invisible characters.
|
||||||
|
|
||||||
|
|
|
@ -11360,7 +11360,7 @@ be removed."
|
||||||
(end-of-line 1))
|
(end-of-line 1))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(widen)
|
(widen)
|
||||||
(if (and (looking-at "[ \t]+\n")
|
(if (and (looking-at "[ \t]*\n")
|
||||||
(equal (char-before) ?\n))
|
(equal (char-before) ?\n))
|
||||||
(delete-region (1- (point)) (point-at-eol)))
|
(delete-region (1- (point)) (point-at-eol)))
|
||||||
ts))))))
|
ts))))))
|
||||||
|
|
Loading…
Reference in New Issue