[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] org-find-exact-heading-in-directory: Use full path
From: |
Kyle Meyer |
Subject: |
[O] [PATCH] org-find-exact-heading-in-directory: Use full path |
Date: |
Tue, 29 Apr 2014 15:00:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
* lisp/org.el (org-find-exact-heading-in-directory): Use full path for
files.
When the path is not included, `org-find-exact-heading-in-directory'
will fail when the current value of `default-directory' is different
from the argument DIR.
TINYCHANGE
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index d20bb3d..24f694b 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -16133,7 +16133,7 @@ a priority cookie and tags in the standard locations."
"Find Org node headline HEADING in all .org files in directory DIR.
When the target headline is found, return a marker to this location."
(let ((files (directory-files (or dir default-directory)
- nil "\\`[^.#].*\\.org\\'"))
+ t "\\`[^.#].*\\.org\\'"))
file visiting m buffer)
(catch 'found
(while (setq file (pop files))
--
1.9.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [PATCH] org-find-exact-heading-in-directory: Use full path,
Kyle Meyer <=