]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-move-to-end-of-filename):
authorThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Aug 2005 11:30:44 +0000 (11:30 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Aug 2005 11:30:44 +0000 (11:30 +0000)
Handle fifo as rendered by "ls -lF": Don't include trailing "|".

lisp/ChangeLog
lisp/dired.el

index ccc4c1549713f0f9aba3302d16c408c71f89ee54..0caf88a7861f3ed8850854f419267fb969c7bc8e 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * dired.el (dired-move-to-end-of-filename):
+       Handle fifo as rendered by "ls -lF": Don't include trailing "|".
+
 2005-08-18  Kim F. Storm  <storm@cua.dk>
 
        * ido.el (ido-everywhere): Fix defcustom :set function to disable
index 8d1b4fe8e7e3c4e57db5891b7c264c1686694c09..508bc39bbb5304a6e1f2013e35d4ac813a2fb75a 100644 (file)
@@ -1953,11 +1953,11 @@ Return the position of the beginning of the filename, or nil if none found."
                       (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