HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace last-command-char with last-command-event.
[bpt/emacs.git]
/
lisp
/
eshell
/
em-smart.el
diff --git
a/lisp/eshell/em-smart.el
b/lisp/eshell/em-smart.el
index
1396cce
..
43de7ff
100644
(file)
--- 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)))