summaryrefslogtreecommitdiff
path: root/chess-file.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-03-03 18:21:36 +0100
committerMario Lang <mlang@delysid.org>2014-03-03 18:25:12 +0100
commit29f2f3278c0a1c84bdb681822d3f949d8c259791 (patch)
treefd48f4b7e9d0eeae565554f963c383499ab43148 /chess-file.el
parentdd40131722c72b17f8e1480aa284c534f2607b83 (diff)
Do not use `delete-backward-char'.
Diffstat (limited to 'chess-file.el')
-rw-r--r--chess-file.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-file.el b/chess-file.el
index 30565af..9ea516d 100644
--- a/chess-file.el
+++ b/chess-file.el
@@ -81,7 +81,7 @@ inbetween of individual records.")
((eq event 'write)
(goto-char (point-max))
(while (memq (char-before) '(? ?\t ?\n ?\r))
- (delete-backward-char 1))
+ (delete-char -1))
(apply 'insert (nth 4 (assq chess-file-type chess-file-types)))
(push (point) chess-file-locations)
(funcall (nth 3 (assq chess-file-type chess-file-types)) (car args))