diff options
author | Bastien Guerry <bzg@altern.org> | 2010-06-16 16:08:23 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2010-06-16 16:08:23 +0200 |
commit | 359a6bd8bec6018e6c7498610049729c7cd7d3dd (patch) | |
tree | 5b688abccf34e58c4f318ff325e3e173a4c9681f | |
parent | 476d24320c8ff157775765e22682e282be30361c (diff) | |
download | org-mode-359a6bd8bec6018e6c7498610049729c7cd7d3dd.tar.gz |
* org-exp.el (org-export-mark-blockquote-verse-center):
Consider environments that end at eob.
Thanks to David Maus for this patch.
-rw-r--r-- | lisp/org-exp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 915e1f5..502f253 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1567,7 +1567,7 @@ These special cookies will later be interpreted by the backend." (setq beg (match-beginning 0) beg1 (1+ (match-end 0))) (when (re-search-forward (concat "^[ \t]*#\\+end_" type "\\>.*") nil t) - (setq end (1+ (point-at-eol)) + (setq end (+ (point-at-eol) (if (looking-at "\n$") 1 0)) end1 (1- (match-beginning 0))) (setq content (org-remove-indentation (buffer-substring beg1 end1))) (setq content (concat "ORG-" (upcase t1) "-START\n" |