This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Adding export back-ends, Up: Hacking


A.5 Context-sensitive commands

Org has facilities for building context sensitive commands. Authors of Org add-ons can tap into this functionality.

Some Org commands change depending on the context. The most important example of this behavior is the C-c C-c (see The very busy C-c C-c key). Other examples are M-cursor and M-S-cursor.

These context sensitive commands work by providing a function that detects special context for that add-on and executes functionality appropriate for that context.