diff options
author | Toby S. Cubitt <tsc25@cantab.net> | 2012-02-08 10:21:13 +0100 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-02-19 08:06:02 -0700 |
commit | 2d4b9c05f2dfbabcfc7ba161b9524233559ec811 (patch) | |
tree | a46798f3506914724757590eaf80066dfcfb7707 | |
parent | 37e35d2bb55dd5d478f43d87f188731f725a2946 (diff) | |
download | org-mode-2d4b9c05f2dfbabcfc7ba161b9524233559ec811.tar.gz |
Fix bug in org-goto `outline-path-completion' interface
* lisp/org.el (org-goto): call org-refile-get-location with NO-EXCLUDE
argument set, otherwise not only are headlines in the current subtree
excluded, but it throws an error if point happens not to be within a
subtree (e.g. at start of buffer).
TINYCHANGE
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index b69b20f..920fc59 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6822,7 +6822,7 @@ hierarchy above." (selected-point (if (eq interface 'outline) (car (org-get-location (current-buffer) org-goto-help)) - (let ((pa (org-refile-get-location "Goto"))) + (let ((pa (org-refile-get-location "Goto" nil nil t))) (org-refile-check-position pa) (nth 3 pa))))) (if selected-point |