|
From: | Xebar Saram |
Subject: | Re: [O] function-finding-location? |
Date: | Sun, 23 Apr 2017 17:41:56 +0300 |
Hello,
Xebar Saram <address@hidden> writes:
> today i saw this in the DOCU
>
> (file+function "path/to/file" function-finding-location)
> A function to find the right location in the file.
>
> i assume you dont just use "function-finding-location" but rather a
> specific function. are there examples for such functions?
something like this would do the trick:
(defun hmw/foo ()
(goto-char (org-find-exact-headline-in-buffer "boingfoo")))
You can, of course, use regexp or other means of finding the position in
the file.
Does that help?
Regards
hmw
[Prev in Thread] | Current Thread | [Next in Thread] |