]> git.eshelyaron.com Git - emacs.git/commit
Fix wdired-get-filename when ls -F marks symlinks
authorDaniel Martín <mardani29@yahoo.es>
Tue, 22 Dec 2020 06:36:41 +0000 (07:36 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 22 Dec 2020 06:36:41 +0000 (07:36 +0100)
commit901532967873ab82d948024105b5736b622f518b
tree28662539c3333de5da6ea55cf23e0d19d36d9c93
parent051d8f75350e54009180cc2fa5e5f86c92db1e13
Fix wdired-get-filename when ls -F marks symlinks

* lisp/wdired.el (wdired-get-filename): In some systems like BSD or
macOS, "ls -F" marks symlinks with a trailing "@".  Add logic
accounting for this so that wdired-get-filename returns the correct
filename.  This change also fixes test "wdired-test-bug34915" on macOS
and BSD systems (bug#34915).
lisp/wdired.el