1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00

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 2824c587e9)
This commit is contained in:
Lars Ingebrigtsen 2016-04-30 16:28:52 +02:00
parent 619f1edec7
commit a73de71b84

View 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 Each element looks like (OPEN-CHAR CLOSE-CHAR) or (COMMAND-CHAR
OPEN-CHAR CLOSE-CHAR). The characters OPEN-CHAR and CLOSE-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 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) (defun insert-pair (&optional arg open close)
"Enclose following ARG sexps in a pair of OPEN and CLOSE characters. "Enclose following ARG sexps in a pair of OPEN and CLOSE characters.