aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-02-05 15:48:49 +0200
committerEli Zaretskii2025-02-05 15:48:49 +0200
commitbfc8540da4521d460b72fdbc20edb3a0488c23c2 (patch)
tree556c6334b41e4a99922059d69032fa0c207442af
parent85113fcda97970bc2468f409278e27d6570fc76f (diff)
downloademacs-bfc8540da4521d460b72fdbc20edb3a0488c23c2.tar.gz
emacs-bfc8540da4521d460b72fdbc20edb3a0488c23c2.zip
* lisp/dired-x.el (dired-omit-expunge): Escape '%' (bug#75877).
-rw-r--r--lisp/dired-x.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 4a05f609b2b..89390a482f0 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -498,8 +498,10 @@ status message."
498 nil 498 nil
499 (if dired-omit-verbose 499 (if dired-omit-verbose
500 (format "Omitted %%d line%%s in %s" 500 (format "Omitted %%d line%%s in %s"
501 (abbreviate-file-name 501 (replace-regexp-in-string
502 dired-directory)) 502 "%" "%%"
503 (abbreviate-file-name
504 dired-directory)))
503 "") 505 "")
504 init-count))) 506 init-count)))
505 (force-mode-line-update)))) 507 (force-mode-line-update))))