diff options
| author | Mario Lang <mlang@delysid.org> | 2004-01-26 07:23:27 +0000 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2004-01-26 07:23:27 +0000 |
| commit | 3e425d21a34ace87287572bd69637406248cc6c4 (patch) | |
| tree | c89de195458c0d87622e6d40e9d6e6a324b2b541 /chess-database.el | |
| parent | 01d81baed9ef3bcf544f456668c985c29d7f91c5 (diff) | |
new function chess-database-filename, also support it in scid and file dbs
Diffstat (limited to 'chess-database.el')
| -rw-r--r-- | chess-database.el | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |
