summaryrefslogtreecommitdiff
path: root/chess-module.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-module.el')
-rw-r--r--chess-module.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-module.el b/chess-module.el
index 47b5ff0..f176b66 100644
--- a/chess-module.el
+++ b/chess-module.el
@@ -83,7 +83,7 @@
(chess-with-current-buffer module
(setq chess-module-leader nil)))
-(defun chess-module-destroy (module)
+(defun chess-module-destroy (&optional module)
(let ((buf (or module (current-buffer))))
(when (buffer-live-p buf)
(with-current-buffer buf