aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2002-03-01 02:05:45 +0000
committerKenichi Handa <[email protected]>2002-03-01 02:05:45 +0000
commit2494c91bdb78889e446db8c226613ab050239cba (patch)
tree39b28eb9c1cf67ca6db0ef25c9ddd7ff5e97821d /lisp/eshell
parent6466bb34d95d45b9409fb7a7e1956981c0e16aec (diff)
Adjusted for the change of map-char-table.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 4e031b0e0b..97219d8553 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -280,8 +280,11 @@ This is used by `eshell-watch-for-password-prompt'."
(map-char-table
(function
(lambda (key val)
- (and (>= key 256)
- (/= (char-syntax key) ?w)
+ (and (if (consp key)
+ (and (>= (car key) 128)
+ (/= (char-syntax (car key)) ?w))
+ (and (>= key 256)
+ (/= (char-syntax key) ?w)))
(modify-syntax-entry key "_ "
eshell-mode-syntax-table))))
(standard-syntax-table)))))