summaryrefslogtreecommitdiff
path: root/chess-database.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-database.el')
-rw-r--r--chess-database.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-database.el b/chess-database.el
index 4903884..c9ad6dc 100644
--- a/chess-database.el
+++ b/chess-database.el
@@ -57,7 +57,7 @@
(when (buffer-live-p buf)
(with-current-buffer buf
(remove-hook 'kill-buffer-hook 'chess-database-close t))
- (chess-database-command buf 'save)
+ (chess-database-save buf)
(chess-database-command buf 'close)
(kill-buffer buf))))