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 cf878ae1223..b92a9371ec2 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -1387,7 +1387,7 @@ comment."
"Check whether file on current line is marked or not."
(save-excursion
(beginning-of-line)
- (not (looking-at "^ .*$"))))
+ (looking-at-p dired-re-mark)))
(defun image-dired-modify-mark-on-thumb-original-file (command)
"Modify mark in dired buffer.