org-context-in-file-links
org-context-in-file-links is a variable defined in `
org.el
'.
Its value is
t
Documentation:
Non-nil means file links from `org-store-link' contain context.
A search string will be added to the file name with :: as separator and
used to find the context when the link is activated by the command
`org-open-at-point'. When this option is t, the entire active region
will be placed in the search string of the file link. If set to a
positive integer, only the first n lines of context will be stored.
Using a prefix arg to the command M-x org-store-link (`org-store-link')
negates this setting for the duration of the command.
You can customize this variable.