1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(dired-mark-sexp): Replace hard-coded month names with `dired-move-to-filename-regexp'.

This commit is contained in:
Juri Linkov 2004-03-31 16:09:18 +00:00
parent 778f4651d5
commit 43ee73f576

View File

@ -1517,8 +1517,7 @@ to mark all zero length files."
;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid. ;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid.
(setq uid (buffer-substring (+ (point) 1) (setq uid (buffer-substring (+ (point) 1)
(progn (forward-word 1) (point)))) (progn (forward-word 1) (point))))
(re-search-forward "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|\ (re-search-forward dired-move-to-filename-regexp)
Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)")
(goto-char (match-beginning 1)) (goto-char (match-beginning 1))
(forward-char -1) (forward-char -1)
(setq size (string-to-int (buffer-substring (save-excursion (setq size (string-to-int (buffer-substring (save-excursion