diff options
| author | Mario Lang <mlang@delysid.org> | 2014-06-04 22:43:13 +0200 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-06-04 22:43:13 +0200 |
| commit | d3bd3c6f07e0c9a2a7a1488e43b47439a5f8ac54 (patch) | |
| tree | 6880ccc0d0694bd1af272c90108d68d95b58791e /chess-module.el | |
| parent | 4f6e6e7cac21f21586b221e2a65e657a4c2a7213 (diff) | |
Sync from ELPA.
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) |
