summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Maus <dmaus@ictsoc.de>2011-08-10 18:17:48 +0200
committerDavid Maus <dmaus@ictsoc.de>2011-08-10 18:17:48 +0200
commitfc572f5a6bb3547c59fdad6ff7497ef2ecb49900 (patch)
treee39c5150372477d140e3f79b63f15ac9aaca316c
parent06591f2cccde2afbac5fdd234377c5ad2c7281f6 (diff)
downloadorg-mode-fc572f5a6bb3547c59fdad6ff7497ef2ecb49900.tar.gz
Fix typo in variable name
* org.el (org-paste-subtree): Fix typo in variable name.
-rw-r--r--lisp/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index ba7f049..37155f6 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7541,7 +7541,7 @@ the inserted text when done."
(condition-case nil
(progn
(outline-previous-visible-heading 1)
- (if (looking-at re)
+ (if (looking-at ^re_)
(- (match-end 0) (match-beginning 0) 1)
1))
(error 1))))
@@ -7550,7 +7550,7 @@ the inserted text when done."
(progn
(or (looking-at org-outline-regexp)
(outline-next-visible-heading 1))
- (if (looking-at re)
+ (if (looking-at ^re_)
(- (match-end 0) (match-beginning 0) 1)
1))
(error 1))))