forked from mirrors/org-mode
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.
This commit is contained in:
parent
bbde97fb1e
commit
97b264a092
|
@ -10368,7 +10368,7 @@ This can be done with a 0 prefix: `C-0 C-c C-w'"
|
||||||
(goto-char pos)
|
(goto-char pos)
|
||||||
(beginning-of-line 1)
|
(beginning-of-line 1)
|
||||||
(unless (org-looking-at-p re)
|
(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)
|
(defun org-refile-new-child (parent-target child)
|
||||||
"Use refile target PARENT-TARGET to add new CHILD below it."
|
"Use refile target PARENT-TARGET to add new CHILD below it."
|
||||||
|
|
Loading…
Reference in a new issue