summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-07-28 01:03:03 +0200
committerBastien Guerry <bzg@altern.org>2014-07-28 01:03:03 +0200
commit96323cf2aa1f25f75eb13a49501aa185c8719fd3 (patch)
treec10b6cd46fb8a08b4dce3cf8d6c57381e80b7be8
parentaef3b6c3f94683e6b987fc1144447168683b8f6d (diff)
parentd8a0ee7aadd7e7bf986184d4597f6cfa30fa2205 (diff)
downloadorg-mode-96323cf2aa1f25f75eb13a49501aa185c8719fd3.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index eeca4fb..2a71037 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8461,7 +8461,7 @@ When REMOVE is non-nil, remove the subtree from the clipboard."
(string-match
"^\\*+$" (buffer-substring
(point-at-bol) (point))))
- (- (match-end 1) (match-beginning 1)))
+ (- (match-end 0) (match-beginning 0)))
((and (bolp)
(looking-at org-outline-regexp))
(- (match-end 0) (point) 1))))