Keep artist-mode editing from eating empty lines.

This commit is contained in:
Carsten Dominik 2008-10-10 08:50:23 +02:00
parent 5ebc1a7982
commit 76bc40a6e3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-10-10 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-edit-fixed-width-region): Exclude final newline from
picture area.
2008-10-09 Carsten Dominik <dominik@science.uva.nl>
* org-attach.el (org-attach-delete-all): Renamed from

View file

@ -5491,7 +5491,7 @@ exit by killing the buffer with \\[org-edit-src-exit]."
(setq beg (point))))
(save-excursion
(if (re-search-forward "^[ \t]*[^:]" nil 'move)
(setq end (match-beginning 0))
(setq end (1- (match-beginning 0)))
(setq end (point))))
(goto-line line)
(if (get-buffer "*Org Edit Picture*")