diff lisp/dired-x.el @ 20513:6044f0be20eb

(dired-mark-sexp): Skip leading space in defining `uid'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 22 Dec 1997 22:09:22 +0000
parents 347133072016
children eefd01920e56
line wrap: on
line diff
--- a/lisp/dired-x.el	Mon Dec 22 21:50:59 1997 +0000
+++ b/lisp/dired-x.el	Mon Dec 22 22:09:22 1997 +0000
@@ -1461,6 +1461,7 @@
 
 
 ;; Does anyone use this? - lrd 6/29/93.
+;; Apparently people do use it. - lrd 12/22/97.
 (defun dired-mark-sexp (predicate &optional unflag-p)
   "Mark files for which PREDICATE returns non-nil.
 With a prefix arg, unflag those files instead.
@@ -1522,7 +1523,8 @@
               (setq mode (buffer-substring (point) (+ mode-len (point))))
               (forward-char mode-len)
               (setq nlink (read (current-buffer)))
-              (setq uid (buffer-substring (point) (progn (forward-word 1) (point))))
+              ;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid.
+              (setq uid (buffer-substring (+ (point) 1) (progn (forward-word 1) (point))))
               (re-search-forward "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)")
               (goto-char (match-beginning 1))
               (forward-char -1)