From fc572f5a6bb3547c59fdad6ff7497ef2ecb49900 Mon Sep 17 00:00:00 2001 From: David Maus Date: Wed, 10 Aug 2011 18:17:48 +0200 Subject: [PATCH] Fix typo in variable name * org.el (org-paste-subtree): Fix typo in variable name. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index ba7f0498c..37155f683 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)))) -- 2.11.4.GIT