summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-smart.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-01-09 04:23:38 +0000
committerGlenn Morris <rgm@gnu.org>2009-01-09 04:23:38 +0000
commit1ba983e8d9da561ccbdf15fb1544895fad40cce8 (patch)
tree88210d37a85f0ef4a8d3341074b185c9d0187dad /lisp/eshell/em-smart.el
parente93c003eb15f85f744a39c28a8fb43b8c6da9904 (diff)
downloademacs-1ba983e8d9da561ccbdf15fb1544895fad40cce8.tar.gz
Replace last-command-char with last-command-event.
Diffstat (limited to 'lisp/eshell/em-smart.el')
-rw-r--r--lisp/eshell/em-smart.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-smart.el b/lisp/eshell/em-smart.el
index 1396cce33fe..43de7ff760c 100644
--- a/lisp/eshell/em-smart.el
+++ b/lisp/eshell/em-smart.el
@@ -291,7 +291,7 @@ and the end of the buffer are still visible."
(setq clear t)
(cond
((eq this-command 'self-insert-command)
- (if (eq last-command-char ? )
+ (if (eq last-command-event ? )
(if (and eshell-smart-space-goes-to-end
eshell-current-command)
(if (not (pos-visible-in-window-p (point-max)))