]> git.eshelyaron.com Git - emacs.git/commit
Handle multiple directory separators in gnus-search results
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 18 Feb 2022 16:37:33 +0000 (08:37 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 18 Feb 2022 16:37:33 +0000 (08:37 -0800)
commit51e51ce2df46fc0c6e17a97e74b00366bb9c09d8
treeabb4649081d1fdc17138cecd63cde12ef44b665a
parentb76cd8af054a0e24ed8cd1bea515f1ca4619b115
Handle multiple directory separators in gnus-search results

Try to treat the file names more like file names, less like strings
to massage.

* lisp/gnus/gnus-search.el (gnus-search-indexed-parse-output): Use
`expand-file-name' to collapse separators and generally canonicalize
the name. Use `file-name-split' and joining instead of regexp
munging.
lisp/gnus/gnus-search.el