diff options
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)) |
