diff options
| author | Juri Linkov | 2025-04-29 20:14:07 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-04-29 20:14:07 +0300 |
| commit | 483762ef2f71b86c7da98082db14e87f58d009d7 (patch) | |
| tree | 850d66252d0d27401191ec8802c3f6617fbd4d6d | |
| parent | 746a3cb3143194436c4a1a63d26aac890c1a705f (diff) | |
| download | emacs-483762ef2f71b86c7da98082db14e87f58d009d7.tar.gz emacs-483762ef2f71b86c7da98082db14e87f58d009d7.zip | |
Use 'file-equal-p' in 'multi-isearch-read-files' (bug#77678).
* lisp/misearch.el (multi-isearch-read-files): Replace 'string-equal'
with 'file-equal-p' that should handle abbreviated file names as well.
| -rw-r--r-- | lisp/misearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/misearch.el b/lisp/misearch.el index 257042e39b9..5d41ae5fc15 100644 --- a/lisp/misearch.el +++ b/lisp/misearch.el | |||
| @@ -327,7 +327,7 @@ Every next/previous file in the defined sequence is visited by | |||
| 327 | default-directory | 327 | default-directory |
| 328 | buffer-file-name))) | 328 | buffer-file-name))) |
| 329 | (file nil)) | 329 | (file nil)) |
| 330 | (while (not (string-equal | 330 | (while (not (file-equal-p |
| 331 | (setq file (read-file-name | 331 | (setq file (read-file-name |
| 332 | "Next file to search (RET to end): " | 332 | "Next file to search (RET to end): " |
| 333 | default-directory | 333 | default-directory |