diff options
Diffstat (limited to 'chess-module.el')
| -rw-r--r-- | chess-module.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chess-module.el b/chess-module.el index 0a9abf4..c581844 100644 --- a/chess-module.el +++ b/chess-module.el @@ -20,8 +20,7 @@ ;;; Code: -(eval-when-compile - (require 'cl)) +(eval-when-compile (require 'cl-lib)) (require 'chess-game) @@ -48,7 +47,7 @@ (defun chess-module-create (derived game &optional buffer-name &rest ctor-args) (let* ((name (symbol-name derived)) - handler buffer) + handler) (unless (and (require derived nil t) (setq handler (intern-soft (concat name "-handler")))) (chess-error 'no-such-module name)) @@ -87,7 +86,7 @@ (defun chess-module-set-game* (module game) (chess-with-current-buffer module - (assert game) + (cl-assert game) (if chess-module-game (chess-module-detach-game nil)) (setq chess-module-game game) |
