emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 a73de71 30/64: Doc fix for insert-pair-alist


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 a73de71 30/64: Doc fix for insert-pair-alist
Date: Sun, 01 May 2016 18:18:40 +0000

branch: emacs-25
commit a73de71b848da17719dcbbb9206302c09e0f79b9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Doc fix for insert-pair-alist
    
    * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
    COMMAND-CHAR is (bug#18809).
    
    (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
---
 lisp/emacs-lisp/lisp.el |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 764d01c..ea7cce6 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -587,7 +587,11 @@ Interactively, the behavior depends on 
`narrow-to-defun-include-comments'."
 Each element looks like (OPEN-CHAR CLOSE-CHAR) or (COMMAND-CHAR
 OPEN-CHAR CLOSE-CHAR).  The characters OPEN-CHAR and CLOSE-CHAR
 of the pair whose key is equal to the last input character with
-or without modifiers, are inserted by `insert-pair'.")
+or without modifiers, are inserted by `insert-pair'.
+
+If COMMAND-CHAR is specified, it is a character that triggers the
+insertion of the open/close pair, and COMMAND-CHAR itself isn't
+inserted.")
 
 (defun insert-pair (&optional arg open close)
   "Enclose following ARG sexps in a pair of OPEN and CLOSE characters.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]