]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjusted for the change of map-char-table.
authorKenichi Handa <handa@m17n.org>
Fri, 1 Mar 2002 02:05:45 +0000 (02:05 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 1 Mar 2002 02:05:45 +0000 (02:05 +0000)
lisp/eshell/esh-mode.el

index 4e031b0e0b88c98765d6640a1e5c1f1f29c83f9b..97219d85532258b1512d7b779886d84b9373023b 100644 (file)
@@ -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)))))