]> code.delx.au - gnu-emacs/commitdiff
Doc fix for insert-pair-alist
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 14:28:52 +0000 (16:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 14:28:52 +0000 (16:28 +0200)
* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
COMMAND-CHAR is (bug#18809).

lisp/emacs-lisp/lisp.el

index 764d01ce6dbcddf8cf2297a1d83e13a95754fa88..ea7cce67be71e242c20db9bbf8718d1f71d777ee 100644 (file)
@@ -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.