aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-12-22 22:09:22 +0000
committerRichard M. Stallman1997-12-22 22:09:22 +0000
commit44c816daa828b82461af1dff135b735a5c7b45a9 (patch)
tree31c0d095cc06be9ecdb9ec9bc2cf4ab7de07e343 /lisp
parent8557ea062c62eda1f85f26617e4c05938aed395e (diff)
downloademacs-44c816daa828b82461af1dff135b735a5c7b45a9.tar.gz
emacs-44c816daa828b82461af1dff135b735a5c7b45a9.zip
(dired-mark-sexp): Skip leading space in defining `uid'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-x.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 859448e318a..bc6cbacfb53 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1461,6 +1461,7 @@ See also variable `dired-vm-read-only-folders'."
1461 1461
1462 1462
1463;; Does anyone use this? - lrd 6/29/93. 1463;; Does anyone use this? - lrd 6/29/93.
1464;; Apparently people do use it. - lrd 12/22/97.
1464(defun dired-mark-sexp (predicate &optional unflag-p) 1465(defun dired-mark-sexp (predicate &optional unflag-p)
1465 "Mark files for which PREDICATE returns non-nil. 1466 "Mark files for which PREDICATE returns non-nil.
1466With a prefix arg, unflag those files instead. 1467With a prefix arg, unflag those files instead.
@@ -1522,7 +1523,8 @@ to mark all zero length files."
1522 (setq mode (buffer-substring (point) (+ mode-len (point)))) 1523 (setq mode (buffer-substring (point) (+ mode-len (point))))
1523 (forward-char mode-len) 1524 (forward-char mode-len)
1524 (setq nlink (read (current-buffer))) 1525 (setq nlink (read (current-buffer)))
1525 (setq uid (buffer-substring (point) (progn (forward-word 1) (point)))) 1526 ;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid.
1527 (setq uid (buffer-substring (+ (point) 1) (progn (forward-word 1) (point))))
1526 (re-search-forward "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)") 1528 (re-search-forward "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)")
1527 (goto-char (match-beginning 1)) 1529 (goto-char (match-beginning 1))
1528 (forward-char -1) 1530 (forward-char -1)