aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-09 04:29:16 +0000
committerGlenn Morris2009-01-09 04:29:16 +0000
commit61a846fbec62231eb19bdd41e08fd89f57787195 (patch)
tree54ec9efa859bd43dee96e35d4cde7250e4da7f89
parent51bc9aff5ed6323b80d7c76f7e326a656f2f56b8 (diff)
downloademacs-61a846fbec62231eb19bdd41e08fd89f57787195.tar.gz
emacs-61a846fbec62231eb19bdd41e08fd89f57787195.zip
Replace last-command-char with last-command-event.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/emacs-lisp/lisp.el2
-rw-r--r--lisp/emacs-lisp/re-builder.el2
-rw-r--r--lisp/international/mule-cmds.el4
-rw-r--r--lisp/net/tramp.el4
5 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e366159fbc9..a3882d5a07b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -7,7 +7,10 @@
7 * calc/calc-keypd.el, calc/calc-misc.el, calc/calc-prog.el: 7 * calc/calc-keypd.el, calc/calc-misc.el, calc/calc-prog.el:
8 * calc/calc-sel.el, calc/calc-store.el, calc/calc-stuff.el: 8 * calc/calc-sel.el, calc/calc-store.el, calc/calc-stuff.el:
9 * calc/calc-units.el, calc/calc-yank.el, calc/calc.el: 9 * calc/calc-units.el, calc/calc-yank.el, calc/calc.el:
10 * emacs-lisp/lisp.el, emacs-lisp/re-builder.el:
10 * eshell/em-smart.el, eshell/esh-mode.el: 11 * eshell/em-smart.el, eshell/esh-mode.el:
12 * international/mule-cmds.el:
13 * net/tramp.el:
11 * play/mpuz.el: 14 * play/mpuz.el:
12 * progmodes/ada-mode.el, progmodes/antlr-mode.el, progmodes/cc-align.el: 15 * progmodes/ada-mode.el, progmodes/antlr-mode.el, progmodes/cc-align.el:
13 * progmodes/cc-cmds.el, progmodes/cperl-mode.el, progmodes/f90.el: 16 * progmodes/cc-cmds.el, progmodes/cperl-mode.el, progmodes/f90.el:
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 324b45d2692..beb0d85d74a 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -474,7 +474,7 @@ character is inserted ARG times.
474This command assumes point is not in a string or comment." 474This command assumes point is not in a string or comment."
475 (interactive "P") 475 (interactive "P")
476 (if (not (and open close)) 476 (if (not (and open close))
477 (let ((pair (or (assq last-command-char insert-pair-alist) 477 (let ((pair (or (assq last-command-event insert-pair-alist)
478 (assq (event-basic-type last-command-event) 478 (assq (event-basic-type last-command-event)
479 insert-pair-alist)))) 479 insert-pair-alist))))
480 (if pair 480 (if pair
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index bfd72148fd3..97aba431c0f 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -564,7 +564,7 @@ optional fourth argument FORCE is non-nil."
564 (interactive) 564 (interactive)
565 565
566 (setq reb-subexp-displayed 566 (setq reb-subexp-displayed
567 (or subexp (string-to-number (format "%c" last-command-char)))) 567 (or subexp (string-to-number (format "%c" last-command-event))))
568 (reb-update-modestring) 568 (reb-update-modestring)
569 (reb-do-update reb-subexp-displayed)) 569 (reb-do-update reb-subexp-displayed))
570 570
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index ac35228a19e..4e4c0352ccf 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -299,10 +299,10 @@ wrong, use this command again to toggle back to the right mode."
299 cmd (key-binding keyseq t)) 299 cmd (key-binding keyseq t))
300 (not (eq cmd 'universal-argument-other-key))) 300 (not (eq cmd 'universal-argument-other-key)))
301 (let ((current-prefix-arg prefix-arg) 301 (let ((current-prefix-arg prefix-arg)
302 ;; Have to bind `last-command-char' here so that 302 ;; Have to bind `last-command-event' here so that
303 ;; `digit-argument', for instance, can compute the 303 ;; `digit-argument', for instance, can compute the
304 ;; prefix arg. 304 ;; prefix arg.
305 (last-command-char (aref keyseq 0))) 305 (last-command-event (aref keyseq 0)))
306 (call-interactively cmd))) 306 (call-interactively cmd)))
307 307
308 ;; This is the final call to `universal-argument-other-key', which 308 ;; This is the final call to `universal-argument-other-key', which
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index b226f22ad98..dbd34b76359 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -3738,10 +3738,10 @@ beginning of local filename are not substituted."
3738 ;; We don't need to handle `last-input-event', because 3738 ;; We don't need to handle `last-input-event', because
3739 ;; due to the key map we know it must be ?/ or ?~. 3739 ;; due to the key map we know it must be ?/ or ?~.
3740 (let ((s (concat (buffer-substring (point-min) (point)) 3740 (let ((s (concat (buffer-substring (point-min) (point))
3741 (string last-command-char)))) 3741 (string last-command-event))))
3742 (delete-region (point-min) (point)) 3742 (delete-region (point-min) (point))
3743 (insert (substitute-in-file-name s)) 3743 (insert (substitute-in-file-name s))
3744 (setq ad-return-value last-command-char)) 3744 (setq ad-return-value last-command-event))
3745 ad-do-it)))) 3745 ad-do-it))))
3746 3746
3747 '(minibuffer-electric-separator 3747 '(minibuffer-electric-separator