Sfoglia il codice sorgente

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.
Bastien Guerry 14 anni fa
parent
commit
97b264a092
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/org.el

+ 1 - 1
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."