# HG changeset patch # User Thien-Thi Nguyen # Date 1124364539 0 # Node ID 966abb81fa37ff7ed8171129a5f35ef06923bf90 # Parent e1cc4b0d18d3a759eecea3f4b905d3bc393375b7 (dired-move-to-end-of-filename): Handle fifo as rendered by "ls -lF": Don't include trailing "|". diff -r e1cc4b0d18d3 -r 966abb81fa37 lisp/dired.el --- a/lisp/dired.el Thu Aug 18 09:29:48 2005 +0000 +++ b/lisp/dired.el Thu Aug 18 11:28:59 2005 +0000 @@ -1953,11 +1953,11 @@ (eq (preceding-char) ?@) ;; did ls really mark the link? (forward-char -1)))) (goto-char eol) ;; else not a symbolic link - ;; ls -lF marks dirs, sockets and executables with exactly one - ;; trailing character. (Executable bits on symlinks ain't mean + ;; ls -lF marks dirs, sockets, fifos and executables with exactly + ;; one trailing character. (Executable bits on symlinks ain't mean ;; a thing, even to ls, but we know it's not a symlink.) (and used-F - (or (memq file-type '(?d ?s)) + (or (memq file-type '(?d ?s ?p)) executable) (forward-char -1)))) (or no-error