From 1ba983e8d9da561ccbdf15fb1544895fad40cce8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 9 Jan 2009 04:23:38 +0000 Subject: Replace last-command-char with last-command-event. --- lisp/progmodes/ada-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/progmodes/ada-mode.el') diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index af1430a90ba..5750fd9da2b 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el @@ -1628,7 +1628,7 @@ ARG is the prefix the user entered with \\[universal-argument]." (interactive "P") (if ada-auto-case - (let ((lastk last-command-char) + (let ((lastk last-command-event) (previous-syntax-table (syntax-table))) (unwind-protect @@ -1662,9 +1662,9 @@ ARG is the prefix the user entered with \\[universal-argument]." ;; Else, no auto-casing (cond - ((eq last-command-char ?\n) + ((eq last-command-event ?\n) (funcall ada-lfd-binding)) - ((eq last-command-char ?\r) + ((eq last-command-event ?\r) (funcall ada-ret-binding)) (t (self-insert-command (prefix-numeric-value arg)))) -- cgit v1.2.1