Mercurial > emacs
diff lisp/emacs-lisp/lisp.el @ 101008:5aa3a4e05089
Replace last-command-char with last-command-event.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 09 Jan 2009 04:29:16 +0000 |
parents | a9dc0e7c3f2b |
children | 800e02167df4 |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el Fri Jan 09 04:27:03 2009 +0000 +++ b/lisp/emacs-lisp/lisp.el Fri Jan 09 04:29:16 2009 +0000 @@ -474,7 +474,7 @@ 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