branch: elpa/smartparens commit 9b02ee1ffb278cd0dc19c71d6213abf662ce6109 Merge: 17c2e65db5 456118978e Author: Matus Goljer <matus.gol...@gmail.com> Commit: GitHub <nore...@github.com>
Merge pull request #1028 from wentasah/improve-sp-pair-doc Clarify sp-pair documentation --- smartparens.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/smartparens.el b/smartparens.el index c7c8a333ca..5a8f2097a5 100644 --- a/smartparens.el +++ b/smartparens.el @@ -2295,7 +2295,10 @@ is wrapped instead. This is useful with selection functions in wrap bind insert) - "Add a pair definition. + "Add, remove or update a pair definition. + +The pair definition is removed if ACTIONS is :rem, added if it +does not exist, and updated otherwise. OPEN is the opening delimiter. Every pair is uniquely determined by this string.