summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-02-07 08:42:15 +0100
committerBastien Guerry <bzg@altern.org>2013-02-07 08:42:15 +0100
commitfa55168d262cd2fbcf35d40474a7466502ea7836 (patch)
tree4d117935cf06fe92ab32b61a24f8d7827f02f658
parentb07a9bb29ab22c108d05528b957674d2de3463e3 (diff)
downloadorg-mode-fa55168d262cd2fbcf35d40474a7466502ea7836.tar.gz
org-id.el (org-id-get-with-outline-path-completion): Fix docstring
* org-id.el (org-id-get-with-outline-path-completion): Fix docstring. Thanks to Florian Beck for reporting this.
-rw-r--r--lisp/org-id.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/org-id.el b/lisp/org-id.el
index 6e865b5..ecf67f7 100644
--- a/lisp/org-id.el
+++ b/lisp/org-id.el
@@ -259,11 +259,11 @@ In any case, the ID of the entry is returned."
id)))))
(defun org-id-get-with-outline-path-completion (&optional targets)
- "Use outline-path-completion to retrieve the ID of an entry.
-TARGETS may be a setting for `org-refile-targets' to define the eligible
-headlines. When omitted, all headlines in all agenda files are
-eligible.
-It returns the ID of the entry. If necessary, the ID is created."
+ "Use `outline-path-completion' to retrieve the ID of an entry.
+TARGETS may be a setting for `org-refile-targets' to define
+eligible headlines. When omitted, all headlines in the current
+file are eligible. This function returns the ID of the entry.
+If necessary, the ID is created."
(let* ((org-refile-targets (or targets '((nil . (:maxlevel . 10)))))
(org-refile-use-outline-path
(if (caar org-refile-targets) 'file t))