diff options
| author | Lars Ingebrigtsen | 2016-04-30 16:28:52 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:12 +0200 |
| commit | a73de71b848da17719dcbbb9206302c09e0f79b9 (patch) | |
| tree | a77e561aed1aff40fb60935e055fc8ac40b11db5 | |
| parent | 619f1edec7b14790090c05a2dcddf37253b06bfe (diff) | |
| download | emacs-a73de71b848da17719dcbbb9206302c09e0f79b9.tar.gz emacs-a73de71b848da17719dcbbb9206302c09e0f79b9.zip | |
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)
| -rw-r--r-- | lisp/emacs-lisp/lisp.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 764d01ce6db..ea7cce67be7 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'." | |||
| 587 | Each element looks like (OPEN-CHAR CLOSE-CHAR) or (COMMAND-CHAR | 587 | Each element looks like (OPEN-CHAR CLOSE-CHAR) or (COMMAND-CHAR |
| 588 | OPEN-CHAR CLOSE-CHAR). The characters OPEN-CHAR and CLOSE-CHAR | 588 | OPEN-CHAR CLOSE-CHAR). The characters OPEN-CHAR and CLOSE-CHAR |
| 589 | of the pair whose key is equal to the last input character with | 589 | of the pair whose key is equal to the last input character with |
| 590 | or without modifiers, are inserted by `insert-pair'.") | 590 | or without modifiers, are inserted by `insert-pair'. |
| 591 | |||
| 592 | If COMMAND-CHAR is specified, it is a character that triggers the | ||
| 593 | insertion of the open/close pair, and COMMAND-CHAR itself isn't | ||
| 594 | inserted.") | ||
| 591 | 595 | ||
| 592 | (defun insert-pair (&optional arg open close) | 596 | (defun insert-pair (&optional arg open close) |
| 593 | "Enclose following ARG sexps in a pair of OPEN and CLOSE characters. | 597 | "Enclose following ARG sexps in a pair of OPEN and CLOSE characters. |