emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Consider verse/quote environments that end at eob.
@ 2010-06-15 15:20 David Maus
  2010-06-15 15:20 ` [PATCH] Consider " David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2010-06-15 15:20 UTC (permalink / raw)
  To: emacs-orgmode

Attached patch fixes an error when exporting a region with a verse or
quote block at the end.  During preparation with
`org-export-mark-blockquote-verse-center' such a block ends at
end-of-buffer, i.e. without a newline after the #+end_ declaration.

`org-export-mark-blockquote-verse-center' assumes the end of the block
to be at the end of the line with the #+end_ declaration + 1, what
causes `delete-region' to fail when there this position is invalid.

Available at

git://github.com/dmj/dmj-org-mode.git quickfix

David Maus (1):
  Consider environments that end at eob.

 lisp/org-exp.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-16 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-15 15:20 [PATCH] Consider verse/quote environments that end at eob David Maus
2010-06-15 15:20 ` [PATCH] Consider " David Maus
2010-06-16 14:09   ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).