]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/icon.el
Close bug#3992.
[gnu-emacs] / lisp / progmodes / icon.el
index 4d6aceb1b12c5ccdc8be2e6f0fc0d5fbdf7366d4..9182b319b5768272c2d3a4156642ae32dc3042de 100644 (file)
@@ -1,6 +1,6 @@
 ;;; icon.el --- mode for editing Icon code
 
-;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 ;; Free Software Foundation, Inc.
 
 ;; Author: Chris Smith <csmith@convex.com>
@@ -225,7 +225,7 @@ with no args, if that value is non-nil."
                     (progn (icon-indent-line) (newline) t)
                   nil)))
        (progn
-         (insert last-command-char)
+         (insert last-command-event)
          (icon-indent-line)
          (if icon-auto-newline
              (progn