summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-01-15 18:29:07 +0100
committerBastien Guerry <bzg@altern.org>2011-01-15 18:29:07 +0100
commit97b264a092850a59ac944b3bf1e85a0a418c8380 (patch)
tree3ca701713a2e1362947ec5d5fc37eaa269f6ff57
parentbbde97fb1e491409c14eb5d622887d4fefb2476a (diff)
downloadorg-mode-97b264a092850a59ac944b3bf1e85a0a418c8380.tar.gz
org-refile-check-position: explain how to clear the cache
* org.el (org-refile-check-position): send a more explicit message on how to clear the cache before refiling again.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index b2b08ae..6e8aeac 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10368,7 +10368,7 @@ This can be done with a 0 prefix: `C-0 C-c C-w'"
(goto-char pos)
(beginning-of-line 1)
(unless (org-looking-at-p re)
- (error "Invalid refile position, please rebuild the cache"))))))))
+ (error "Invalid refile position, please clear the cache with `C-0 C-c C-w' before refiling"))))))))
(defun org-refile-new-child (parent-target child)
"Use refile target PARENT-TARGET to add new CHILD below it."