From acedf35ce08b9df4a0dcbcd1413e7d85f1182034 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sat, 11 Dec 2010 17:42:53 +0100 Subject: Update to Org mode 7.4 --- lisp/org/org-src.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/org/org-src.el') diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index c4f0065ec34..c932b4a70b2 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el @@ -8,7 +8,7 @@ ;; Dan Davison ;; Keywords: outlines, hypermedia, calendar, wp ;; Homepage: http://orgmode.org -;; Version: 7.3 +;; Version: 7.4 ;; ;; This file is part of GNU Emacs. ;; @@ -240,8 +240,8 @@ buffer." block-nindent (nth 5 info) lang-f (intern (concat lang "-mode")) begline (save-excursion (goto-char beg) (org-current-line))) - (if (and mark (>= mark beg) (<= mark end)) - (save-excursion (goto-char mark) + (if (and mark (>= mark beg) (<= mark (1+ end))) + (save-excursion (goto-char (min mark end)) (setq markline (org-current-line) markcol (current-column)))) (if (equal lang-f 'table.el-mode) -- cgit v1.2.3