Commit 2fc71e3c authored by Leo Liu's avatar Leo Liu
Browse files

Prune erroneous values in dired-get-marked-files

Fixes: debbugs:13152
parent e17b9777
2013-01-18 Leo Liu <>
* dired.el (dired-get-marked-files): Prune erroneous values due to
last change. (Bug#13152)
2013-01-17 Glenn Morris <>
* progmodes/etags.el (tags-table-check-computed-list):
......@@ -620,12 +620,14 @@ Optional third argument FILTER, if non-nil, is a function to select
If DISTINGUISH-ONE-MARKED is non-nil, then if we find just one marked file,
return (t FILENAME) instead of (FILENAME).
Don't use that together with FILTER."
(let* ((all-of-them
(dired-get-filename localp 'no-error-if-not-filep)
arg nil distinguish-one-marked)))
(let ((all-of-them
(delq nil (dired-map-over-marks
(dired-get-filename localp 'no-error-if-not-filep)
arg nil distinguish-one-marked))))
(when (equal all-of-them '(t))
(setq all-of-them nil))
(if (not filter)
(if (and distinguish-one-marked (eq (car all-of-them) t))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment