changeset 100997:0e99f90c4347

(last-input-char, last-command-char): Move here from src/keyboard.c.
author Glenn Morris <rgm@gnu.org>
date Fri, 09 Jan 2009 03:28:56 +0000
parents 4b04254322f8
children 665b8b95b06f
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 09 03:22:30 2009 +0000
+++ b/lisp/ChangeLog	Fri Jan 09 03:28:56 2009 +0000
@@ -1,3 +1,8 @@
+2009-01-09  Glenn Morris  <rgm@gnu.org>
+
+	* subr.el (last-input-char, last-command-char):
+	Move here from src/keyboard.c.
+
 2009-01-09  Dave Love  <fx@gnu.org>
 
 	* calendar/time-date.el: Require cl for `declare'.
--- a/lisp/subr.el	Fri Jan 09 03:22:30 2009 +0000
+++ b/lisp/subr.el	Fri Jan 09 03:28:56 2009 +0000
@@ -1059,6 +1059,16 @@
 (make-obsolete-variable 'translation-table-for-input nil "23.1")
 
 (defvaralias 'messages-buffer-max-lines 'message-log-max)
+
+;; These aliases exist in Emacs 19.34, and probably before, but were
+;; only marked as obsolete in 23.1.
+;; The lisp manual (since at least Emacs 21) descrribes them as
+;; existing "for compatibility with Emacs version 18".
+(define-obsolete-variable-alias 'last-input-char 'last-input-event
+  "at least 19.34")
+(define-obsolete-variable-alias 'last-command-char 'last-command-event
+  "at least 19.34")
+
 
 ;;;; Alternate names for functions - these are not being phased out.