diff options
author | Bastien Guerry <bzg@altern.org> | 2013-03-25 05:47:45 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-03-25 05:47:45 +0100 |
commit | 0f175ea128f6a84898b46f81cf057e517a3f4acc (patch) | |
tree | 2e6076cb005729a813a5c257de41fd86a27203da | |
parent | a9880a7710415218d3940e380968a9ed56367880 (diff) | |
download | org-mode-0f175ea128f6a84898b46f81cf057e517a3f4acc.tar.gz |
org.el (org-refile-cache-check-set): More informative message
* org.el (org-refile-cache-check-set): More informative message.
Thanks to Samuel Wales for raising this.
-rw-r--r-- | lisp/org.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index 27d8516..d42e49d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11116,9 +11116,10 @@ on the system \"/user@host:\"." (let (marker) (catch 'exit (while (and set (setq marker (nth 3 (pop set)))) - ;; if org-refile-use-outline-path is 'file, marker may be nil + ;; If `org-refile-use-outline-path' is 'file, marker may be nil (when (and marker (null (marker-buffer marker))) - (message "not found") (sit-for 3) + (message "Please regenerate the refile cache with `C-0 C-c C-w'") + (sit-for 3) (throw 'exit nil))) t))) |