Browse files

Revert "Changed use of characterp to char-valid-p."

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

0 comments on commit c8dbfc9

Please sign in to comment.