comparison lisp/progmodes/vhdl-mode.el @ 101002:3b3c7e10cd97

Replace last-command-char with last-command-event.
author Glenn Morris <rgm@gnu.org>
date Fri, 09 Jan 2009 04:15:52 +0000
parents a9dc0e7c3f2b
children dbe70c3aa01d
comparison
equal deleted inserted replaced
101001:14b421290b2f 101002:3b3c7e10cd97
10610 (insert " ") 10610 (insert " ")
10611 (unexpand-abbrev) 10611 (unexpand-abbrev)
10612 (backward-word 1) 10612 (backward-word 1)
10613 (vhdl-case-word 1) 10613 (vhdl-case-word 1)
10614 (delete-char 1)) 10614 (delete-char 1))
10615 (let ((invoke-char last-command-char) 10615 (let ((invoke-char last-command-event)
10616 (abbrev-mode -1) 10616 (abbrev-mode -1)
10617 (vhdl-template-invoked-by-hook t)) 10617 (vhdl-template-invoked-by-hook t))
10618 (let ((caught (catch 'abort 10618 (let ((caught (catch 'abort
10619 (funcall func)))) 10619 (funcall func))))
10620 (when (stringp caught) (message "%s" caught))) 10620 (when (stringp caught) (message "%s" caught)))