summaryrefslogtreecommitdiff
path: root/chess-display.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-display.el
parentdd40131722c72b17f8e1480aa284c534f2607b83 (diff)
Do not use `delete-backward-char'.
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index bcdc12e..a58fbb1 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -702,7 +702,7 @@ Basically, it means we are playing, not editing or reviewing."
(insert text)
(goto-char (point-max))
(while (and (bolp) (not (bobp)))
- (delete-backward-char 1))
+ (delete-char -1))
(goto-char (point-min))
(cond
((search-forward "[Event " nil t)