Permalink
Browse files

Changed use of characterp to char-valid-p.

  • Loading branch information...
1 parent 37c27c6 commit a7ee31d30dcada8157365b072d2b6962e7191c77 @jwiegley jwiegley committed Aug 27, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 esh-mode.el
  2. +1 −1 esh-opt.el
View
@@ -265,7 +265,7 @@ This is used by `eshell-watch-for-password-prompt'."
(map-char-table
(function
(lambda (key val)
- (and (characterp key)
+ (and (char-valid-p key)
(>= (char-int key) 256)
(/= (char-syntax key) ?w)
(modify-syntax-entry key "_ "
View
@@ -193,7 +193,7 @@ switch is unrecognized."
(setq extcmd (eshell-search-path (cadr extcmd)))
(if extcmd
(throw 'eshell-ext-command extcmd)
- (if (characterp switch)
+ (if (char-valid-p switch)
(error "%s: unrecognized option -%c" name switch)
(error "%s: unrecognized option --%s" name switch))))))))

0 comments on commit a7ee31d

Please sign in to comment.