From fa55168d262cd2fbcf35d40474a7466502ea7836 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 7 Feb 2013 08:42:15 +0100 Subject: [PATCH] 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. --- lisp/org-id.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/org-id.el b/lisp/org-id.el index 6e865b50c..ecf67f72f 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))