summaryrefslogtreecommitdiff
path: root/chess-file.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-26 07:23:27 +0000
committerMario Lang <mlang@delysid.org>2004-01-26 07:23:27 +0000
commit3e425d21a34ace87287572bd69637406248cc6c4 (patch)
treec89de195458c0d87622e6d40e9d6e6a324b2b541 /chess-file.el
parent01d81baed9ef3bcf544f456668c985c29d7f91c5 (diff)
new function chess-database-filename, also support it in scid and file dbs
Diffstat (limited to 'chess-file.el')
-rw-r--r--chess-file.el6
1 files changed, 6 insertions, 0 deletions
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))