diff options
Diffstat (limited to 'lisp/vc/vc-dir.el')
-rw-r--r-- | lisp/vc/vc-dir.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index fa18fddfc3e..d733b36f8ff 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el @@ -785,8 +785,7 @@ MARK-FILES should be a list of absolute filenames." (defun vc-dir-mark-state-files (states) "Mark files that are in the state specified by the list in STATES." - (unless (listp states) - (setq states (list states))) + (setq states (ensure-list states)) (ewoc-map (lambda (filearg) (when (memq (vc-dir-fileinfo->state filearg) states) |