Variable: org-context-in-file-links

org-context-in-file-links is an alias and customizable for org-link-context-for-files, defined in org-compat.el.gz.

This variable is obsolete since 9.3; use org-link-context-for-files instead.

Value

t

Documentation

Non-nil means file links from org-store-link contain context.

A search string is 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 is be placed in the search string of the file link. If set to a positive integer N, only the first N lines of context are stored.

Using a prefix argument to the command org-store-link (C-u (universal-argument) M-x org-store-link (org-store-link)) negates this setting for the duration of the command.

Aliases

org-context-in-file-links (obsolete since 9.3)