diff options
| author | Eli Zaretskii | 2025-02-05 15:48:49 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-05 15:48:49 +0200 |
| commit | bfc8540da4521d460b72fdbc20edb3a0488c23c2 (patch) | |
| tree | 556c6334b41e4a99922059d69032fa0c207442af | |
| parent | 85113fcda97970bc2468f409278e27d6570fc76f (diff) | |
| download | emacs-bfc8540da4521d460b72fdbc20edb3a0488c23c2.tar.gz emacs-bfc8540da4521d460b72fdbc20edb3a0488c23c2.zip | |
* lisp/dired-x.el (dired-omit-expunge): Escape '%' (bug#75877).
| -rw-r--r-- | lisp/dired-x.el | 6 |
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)))) |