changeset 101015:0c2777fdd83f

Remove references to last-command-char and last-input-char, since these have been identical to last-command-event and last-input-event since at least Emacs 19. (edebug-outside-last-command-char, edebug-outside-last-input-char): Remove.
author Glenn Morris <rgm@gnu.org>
date Fri, 09 Jan 2009 05:16:23 +0000
parents 49524a62e7d6
children 0340abf40af9
files lisp/ChangeLog lisp/emacs-lisp/edebug.el
diffstat 2 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 09 05:05:28 2009 +0000
+++ b/lisp/ChangeLog	Fri Jan 09 05:16:23 2009 +0000
@@ -35,6 +35,12 @@
 	* obsolete/iso-acc.el:
 	* progmodes/vhdl-mode.el: Replace last-input-char with last-input-event.
 
+	* emacs-lisp/edebug.el: Remove references to last-command-char and
+	last-input-char, since these have been identical to last-command-event
+	and last-input-event since at least Emacs 19.
+	(edebug-outside-last-command-char, edebug-outside-last-input-char):
+	Remove.
+
 2009-01-09  Dave Love  <fx@gnu.org>
 
 	* calendar/time-date.el: Require cl for `declare'.
--- a/lisp/emacs-lisp/edebug.el	Fri Jan 09 05:05:28 2009 +0000
+++ b/lisp/emacs-lisp/edebug.el	Fri Jan 09 05:16:23 2009 +0000
@@ -1,7 +1,8 @@
 ;;; edebug.el --- a source-level debugger for Emacs Lisp
 
 ;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1999,
-;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+;;   Free Software Foundation, Inc.
 
 ;; Author: Daniel LaLiberte <liberte@holonexus.org>
 ;; Maintainer: FSF
@@ -2813,10 +2814,8 @@
 (defvar edebug-outside-standard-output)
 (defvar edebug-outside-standard-input)
 (defvar edebug-outside-current-prefix-arg)
-(defvar edebug-outside-last-command-char)
 (defvar edebug-outside-last-command)
 (defvar edebug-outside-this-command)
-(defvar edebug-outside-last-input-char)
 
 ;; Note: here we have defvars for variables that are
 ;; built-in in certain versions.
@@ -2869,10 +2868,8 @@
 	(edebug-outside-standard-input standard-input)
 	(edebug-outside-defining-kbd-macro defining-kbd-macro)
 
-	(edebug-outside-last-command-char last-command-char)
 	(edebug-outside-last-command last-command)
 	(edebug-outside-this-command this-command)
-	(edebug-outside-last-input-char last-input-char)
 
 	(edebug-outside-unread-command-char unread-command-char)
 	(edebug-outside-current-prefix-arg current-prefix-arg)
@@ -2888,10 +2885,8 @@
 	(let (
 	      ;; Declare global values local but using the same global value.
 	      ;; We could set these to the values for previous edebug call.
-	      (last-command-char last-command-char)
 	      (last-command last-command)
 	      (this-command this-command)
-	      (last-input-char last-input-char)
 
 	      ;; Assume no edebug command sets unread-command-char.
 	      (unread-command-char -1)
@@ -2955,13 +2950,11 @@
 
       ;; Reset global vars to outside values, in case they have been changed.
       (setq
-       last-command-char edebug-outside-last-command-char
        last-command-event edebug-outside-last-command-event
        last-command edebug-outside-last-command
        this-command edebug-outside-this-command
        unread-command-char edebug-outside-unread-command-char
        current-prefix-arg edebug-outside-current-prefix-arg
-       last-input-char edebug-outside-last-input-char
        last-input-event edebug-outside-last-input-event
        last-event-frame edebug-outside-last-event-frame
        last-nonmenu-event edebug-outside-last-nonmenu-event
@@ -3580,14 +3573,12 @@
      (set-match-data edebug-outside-match-data)
      ;; Restore outside context.
      (let (;; (edebug-inside-map (current-local-map)) ;; restore map??
-	   (last-command-char edebug-outside-last-command-char)
 	   (last-command-event edebug-outside-last-command-event)
 	   (last-command edebug-outside-last-command)
 	   (this-command edebug-outside-this-command)
 	   (unread-command-char edebug-outside-unread-command-char)
 	   (unread-command-events edebug-outside-unread-command-events)
 	   (current-prefix-arg edebug-outside-current-prefix-arg)
-	   (last-input-char edebug-outside-last-input-char)
 	   (last-input-event edebug-outside-last-input-event)
 	   (last-event-frame edebug-outside-last-event-frame)
 	   (last-nonmenu-event edebug-outside-last-nonmenu-event)
@@ -3623,14 +3614,12 @@
 
 	 ;; Save values that may have been changed.
 	 (setq
-	  edebug-outside-last-command-char last-command-char
 	  edebug-outside-last-command-event last-command-event
 	  edebug-outside-last-command last-command
 	  edebug-outside-this-command this-command
 	  edebug-outside-unread-command-char unread-command-char
 	  edebug-outside-unread-command-events unread-command-events
 	  edebug-outside-current-prefix-arg current-prefix-arg
-	  edebug-outside-last-input-char last-input-char
 	  edebug-outside-last-input-event last-input-event
 	  edebug-outside-last-event-frame last-event-frame
 	  edebug-outside-last-nonmenu-event last-nonmenu-event