aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-09 05:16:23 +0000
committerGlenn Morris2009-01-09 05:16:23 +0000
commitdd5131896c36499cde1fe0d43ed9acec67e41d49 (patch)
tree2765ae5c9b9d44f0e57541ac9a7563d496c4d6cc
parent05453c9d02d2f8aaa6ece3b3b186c29500530bdd (diff)
downloademacs-dd5131896c36499cde1fe0d43ed9acec67e41d49.tar.gz
emacs-dd5131896c36499cde1fe0d43ed9acec67e41d49.zip
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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/edebug.el15
2 files changed, 8 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4a82c7a5e60..f79a344e8d1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -35,6 +35,12 @@
35 * obsolete/iso-acc.el: 35 * obsolete/iso-acc.el:
36 * progmodes/vhdl-mode.el: Replace last-input-char with last-input-event. 36 * progmodes/vhdl-mode.el: Replace last-input-char with last-input-event.
37 37
38 * emacs-lisp/edebug.el: Remove references to last-command-char and
39 last-input-char, since these have been identical to last-command-event
40 and last-input-event since at least Emacs 19.
41 (edebug-outside-last-command-char, edebug-outside-last-input-char):
42 Remove.
43
382009-01-09 Dave Love <fx@gnu.org> 442009-01-09 Dave Love <fx@gnu.org>
39 45
40 * calendar/time-date.el: Require cl for `declare'. 46 * calendar/time-date.el: Require cl for `declare'.
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 1ac97580ded..e8af45d117f 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -1,7 +1,8 @@
1;;; edebug.el --- a source-level debugger for Emacs Lisp 1;;; edebug.el --- a source-level debugger for Emacs Lisp
2 2
3;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1999, 3;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5;; Free Software Foundation, Inc.
5 6
6;; Author: Daniel LaLiberte <liberte@holonexus.org> 7;; Author: Daniel LaLiberte <liberte@holonexus.org>
7;; Maintainer: FSF 8;; Maintainer: FSF
@@ -2813,10 +2814,8 @@ MSG is printed after `::::} '."
2813(defvar edebug-outside-standard-output) 2814(defvar edebug-outside-standard-output)
2814(defvar edebug-outside-standard-input) 2815(defvar edebug-outside-standard-input)
2815(defvar edebug-outside-current-prefix-arg) 2816(defvar edebug-outside-current-prefix-arg)
2816(defvar edebug-outside-last-command-char)
2817(defvar edebug-outside-last-command) 2817(defvar edebug-outside-last-command)
2818(defvar edebug-outside-this-command) 2818(defvar edebug-outside-this-command)
2819(defvar edebug-outside-last-input-char)
2820 2819
2821;; Note: here we have defvars for variables that are 2820;; Note: here we have defvars for variables that are
2822;; built-in in certain versions. 2821;; built-in in certain versions.
@@ -2869,10 +2868,8 @@ MSG is printed after `::::} '."
2869 (edebug-outside-standard-input standard-input) 2868 (edebug-outside-standard-input standard-input)
2870 (edebug-outside-defining-kbd-macro defining-kbd-macro) 2869 (edebug-outside-defining-kbd-macro defining-kbd-macro)
2871 2870
2872 (edebug-outside-last-command-char last-command-char)
2873 (edebug-outside-last-command last-command) 2871 (edebug-outside-last-command last-command)
2874 (edebug-outside-this-command this-command) 2872 (edebug-outside-this-command this-command)
2875 (edebug-outside-last-input-char last-input-char)
2876 2873
2877 (edebug-outside-unread-command-char unread-command-char) 2874 (edebug-outside-unread-command-char unread-command-char)
2878 (edebug-outside-current-prefix-arg current-prefix-arg) 2875 (edebug-outside-current-prefix-arg current-prefix-arg)
@@ -2888,10 +2885,8 @@ MSG is printed after `::::} '."
2888 (let ( 2885 (let (
2889 ;; Declare global values local but using the same global value. 2886 ;; Declare global values local but using the same global value.
2890 ;; We could set these to the values for previous edebug call. 2887 ;; We could set these to the values for previous edebug call.
2891 (last-command-char last-command-char)
2892 (last-command last-command) 2888 (last-command last-command)
2893 (this-command this-command) 2889 (this-command this-command)
2894 (last-input-char last-input-char)
2895 2890
2896 ;; Assume no edebug command sets unread-command-char. 2891 ;; Assume no edebug command sets unread-command-char.
2897 (unread-command-char -1) 2892 (unread-command-char -1)
@@ -2955,13 +2950,11 @@ MSG is printed after `::::} '."
2955 2950
2956 ;; Reset global vars to outside values, in case they have been changed. 2951 ;; Reset global vars to outside values, in case they have been changed.
2957 (setq 2952 (setq
2958 last-command-char edebug-outside-last-command-char
2959 last-command-event edebug-outside-last-command-event 2953 last-command-event edebug-outside-last-command-event
2960 last-command edebug-outside-last-command 2954 last-command edebug-outside-last-command
2961 this-command edebug-outside-this-command 2955 this-command edebug-outside-this-command
2962 unread-command-char edebug-outside-unread-command-char 2956 unread-command-char edebug-outside-unread-command-char
2963 current-prefix-arg edebug-outside-current-prefix-arg 2957 current-prefix-arg edebug-outside-current-prefix-arg
2964 last-input-char edebug-outside-last-input-char
2965 last-input-event edebug-outside-last-input-event 2958 last-input-event edebug-outside-last-input-event
2966 last-event-frame edebug-outside-last-event-frame 2959 last-event-frame edebug-outside-last-event-frame
2967 last-nonmenu-event edebug-outside-last-nonmenu-event 2960 last-nonmenu-event edebug-outside-last-nonmenu-event
@@ -3580,14 +3573,12 @@ Return the result of the last expression."
3580 (set-match-data edebug-outside-match-data) 3573 (set-match-data edebug-outside-match-data)
3581 ;; Restore outside context. 3574 ;; Restore outside context.
3582 (let (;; (edebug-inside-map (current-local-map)) ;; restore map?? 3575 (let (;; (edebug-inside-map (current-local-map)) ;; restore map??
3583 (last-command-char edebug-outside-last-command-char)
3584 (last-command-event edebug-outside-last-command-event) 3576 (last-command-event edebug-outside-last-command-event)
3585 (last-command edebug-outside-last-command) 3577 (last-command edebug-outside-last-command)
3586 (this-command edebug-outside-this-command) 3578 (this-command edebug-outside-this-command)
3587 (unread-command-char edebug-outside-unread-command-char) 3579 (unread-command-char edebug-outside-unread-command-char)
3588 (unread-command-events edebug-outside-unread-command-events) 3580 (unread-command-events edebug-outside-unread-command-events)
3589 (current-prefix-arg edebug-outside-current-prefix-arg) 3581 (current-prefix-arg edebug-outside-current-prefix-arg)
3590 (last-input-char edebug-outside-last-input-char)
3591 (last-input-event edebug-outside-last-input-event) 3582 (last-input-event edebug-outside-last-input-event)
3592 (last-event-frame edebug-outside-last-event-frame) 3583 (last-event-frame edebug-outside-last-event-frame)
3593 (last-nonmenu-event edebug-outside-last-nonmenu-event) 3584 (last-nonmenu-event edebug-outside-last-nonmenu-event)
@@ -3623,14 +3614,12 @@ Return the result of the last expression."
3623 3614
3624 ;; Save values that may have been changed. 3615 ;; Save values that may have been changed.
3625 (setq 3616 (setq
3626 edebug-outside-last-command-char last-command-char
3627 edebug-outside-last-command-event last-command-event 3617 edebug-outside-last-command-event last-command-event
3628 edebug-outside-last-command last-command 3618 edebug-outside-last-command last-command
3629 edebug-outside-this-command this-command 3619 edebug-outside-this-command this-command
3630 edebug-outside-unread-command-char unread-command-char 3620 edebug-outside-unread-command-char unread-command-char
3631 edebug-outside-unread-command-events unread-command-events 3621 edebug-outside-unread-command-events unread-command-events
3632 edebug-outside-current-prefix-arg current-prefix-arg 3622 edebug-outside-current-prefix-arg current-prefix-arg
3633 edebug-outside-last-input-char last-input-char
3634 edebug-outside-last-input-event last-input-event 3623 edebug-outside-last-input-event last-input-event
3635 edebug-outside-last-event-frame last-event-frame 3624 edebug-outside-last-event-frame last-event-frame
3636 edebug-outside-last-nonmenu-event last-nonmenu-event 3625 edebug-outside-last-nonmenu-event last-nonmenu-event