diff options
author | Glenn Morris <rgm@gnu.org> | 2009-01-09 04:29:16 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-01-09 04:29:16 +0000 |
commit | 61a846fbec62231eb19bdd41e08fd89f57787195 (patch) | |
tree | 54ec9efa859bd43dee96e35d4cde7250e4da7f89 /lisp/emacs-lisp/lisp.el | |
parent | 51bc9aff5ed6323b80d7c76f7e326a656f2f56b8 (diff) | |
download | emacs-61a846fbec62231eb19bdd41e08fd89f57787195.tar.gz |
Replace last-command-char with last-command-event.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r-- | lisp/emacs-lisp/lisp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 324b45d2692..beb0d85d74a 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -474,7 +474,7 @@ character is inserted ARG times. This command assumes point is not in a string or comment." (interactive "P") (if (not (and open close)) - (let ((pair (or (assq last-command-char insert-pair-alist) + (let ((pair (or (assq last-command-event insert-pair-alist) (assq (event-basic-type last-command-event) insert-pair-alist)))) (if pair |