summaryrefslogtreecommitdiff
path: root/lisp/image-dired.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/image-dired.el')
-rw-r--r--lisp/image-dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index f006e2e9edd..ce0fc4edc6a 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -937,7 +937,7 @@ FILE-TAGS is an alist in the following form:
;; If on empty line at end of buffer
(when (and (eobp)
(looking-at "^$"))
- (delete-backward-char 1))))))
+ (delete-char -1))))))
files)
(save-buffer)
(kill-buffer buf))))