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-file.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chess-file.el') diff --git a/chess-file.el b/chess-file.el index 1f99b58..509f3e6 100644 --- a/chess-file.el +++ b/chess-file.el @@ -29,6 +29,12 @@ (forward-char 1)) (setq chess-file-locations (nreverse chess-file-locations)))) + ((eq event 'read-only-p) + buffer-read-only) + + ((eq event 'filename) + buffer-file-name) + ((eq event 'save) (save-buffer)) -- cgit v1.2.3