summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-08-17 11:05:03 +0200
committerBastien Guerry <bzg@altern.org>2011-08-17 11:05:03 +0200
commitd13476b9180adc02d6b0a29b5134d858102813c2 (patch)
tree4c11db52f117d538677d61541239bdca0a622488
parent7a826e09b1e731a1aefec122a5929d2b6900984b (diff)
downloadorg-mode-d13476b9180adc02d6b0a29b5134d858102813c2.tar.gz
org-archive.el: Use `org-outline-regexp' instead of `outline-regexp'.
* org-archive.el (org-archive-to-archive-sibling): Use `org-outline-regexp' instead of `outline-regexp'.
-rw-r--r--lisp/org-archive.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-archive.el b/lisp/org-archive.el
index dd298b3..fb3a821 100644
--- a/lisp/org-archive.el
+++ b/lisp/org-archive.el
@@ -354,7 +354,7 @@ sibling does not exist, it will be created at the end of the subtree."
(widen)
(let (b e pos leader level)
(org-back-to-heading t)
- (looking-at outline-regexp)
+ (looking-at org-outline-regexp)
(setq leader (match-string 0)
level (funcall outline-level))
(setq pos (point))