diff options
| author | Mario Lang <mlang@x4.delysid.org> | 2009-12-27 20:11:07 +0100 |
|---|---|---|
| committer | Mario Lang <mlang@x4.delysid.org> | 2009-12-27 20:11:07 +0100 |
| commit | 81c84e9628adf820eea9209e9c0be341a429470a (patch) | |
| tree | 7d6ca2ca73152ed2ba840e8c916e4a23614ba375 /chess-display.el | |
| parent | e84cb965d3bb8e15092e21797c06c60d3db32090 (diff) | |
char-valid-p is obsolete (as of Emacs 23.1); use characterp instead
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el index a7fa21d..2807a82 100644 --- a/chess-display.el +++ b/chess-display.el @@ -1097,7 +1097,7 @@ to the end or beginning." (defun chess-display-set-piece (&optional piece) "Set the piece under point to command character, or space for clear." (interactive) - (if (or (null piece) (char-valid-p piece)) + (if (or (null piece) (characterp piece)) (let ((index (get-text-property (point) 'chess-coord))) (chess-pos-set-piece chess-display-edit-position index (or piece last-command-char)) |
