summaryrefslogtreecommitdiff
path: root/chess-database.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-database.el')
-rw-r--r--chess-database.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-database.el b/chess-database.el
index 35cbc44..68c318a 100644
--- a/chess-database.el
+++ b/chess-database.el
@@ -14,7 +14,8 @@
(defun chess-database-open (module file)
"Returns the opened database object, or nil."
(let* ((name (symbol-name module))
- (handler (intern-soft (concat name "-handler"))))
+ (handler (intern-soft (concat name "-handler")))
+ buffer)
(unless handler
(chess-error 'no-such-database name))
(when (setq buffer (funcall handler 'open file))