Skip to content

Commit 2a5eeb3

Browse files
author
github-actions
committed
[docgen] Update docs
1 parent 2c806ca commit 2a5eeb3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/orgmode_api.txt

+17
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ OrgFile:get_closest_headline() *OrgFile:get_closest_headline*
7070
@return OrgApiHeadline | nil
7171

7272

73+
*OrgFile:get_headline_on_line*
74+
OrgFile:get_headline_on_line({line_number})
75+
76+
Parameters: ~
77+
{line_number} (number)
78+
79+
Returns: ~
80+
(OrgApiHeadline|nil)
81+
82+
7383
OrgFile:get_link() *OrgFile:get_link*
7484
Get a link destination as string
7585

@@ -282,6 +292,13 @@ OrgAgenda.open_by_key({key}) *OrgAgenda.open_by_key*
282292
{key} (string) Key in the agenda prompt (for example: "a", "t", "m", "M")
283293

284294

295+
OrgAgenda.get_headline_at_cursor() *OrgAgenda.get_headline_at_cursor*
296+
Get the headline at the cursor position in the agenda view
297+
298+
Returns: ~
299+
(OrgApiHeadline|nil)
300+
301+
285302
OrgPosition *OrgPosition*
286303

287304
Fields: ~

0 commit comments

Comments
 (0)