From 3e425d21a34ace87287572bd69637406248cc6c4 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Mon, 26 Jan 2004 07:23:27 +0000 Subject: new function chess-database-filename, also support it in scid and file dbs --- chess-database.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chess-database.el') diff --git a/chess-database.el b/chess-database.el index 6db8ba7..0c03484 100644 --- a/chess-database.el +++ b/chess-database.el @@ -74,6 +74,10 @@ "Return non-nil if DATABASE is read only." (chess-database-command database 'read-only-p)) +(defun chess-database-filename (database) + "Return the filename of an already opened DATABASE." + (chess-database-command database 'filename)) + (defun chess-database-read (database index) "Return from DATABASE the chess game object at INDEX." (chess-database-command database 'read index)) -- cgit v1.2.3