aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-07 17:03:31 +0000
committerGerd Moellmann2000-11-07 17:03:31 +0000
commit7b01b08c2481fe788f874e427b4ae8a7c600c5cd (patch)
tree696c29452cc52f7958b44572e10b764aae17d314
parent4295d0b2b0ce33748c3aca023f775641484a5c0e (diff)
downloademacs-7b01b08c2481fe788f874e427b4ae8a7c600c5cd.tar.gz
emacs-7b01b08c2481fe788f874e427b4ae8a7c600c5cd.zip
(dired-between-files): Add `^. find' as an alternative
to the regular expression, for find-dired.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ceb48970e8..6fed746a2d8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-11-07 Gerd Moellmann <gerd@gnu.org>
2
3 * dired.el (dired-between-files): Add `^. find' as an alternative
4 to the regular expression, for find-dired.
5
12000-11-06 Stefan Monnier <monnier@cs.yale.edu> 62000-11-06 Stefan Monnier <monnier@cs.yale.edu>
2 7
3 * textmodes/texnfo-upd.el: Require texinfo. 8 * textmodes/texnfo-upd.el: Require texinfo.
diff --git a/lisp/dired.el b/lisp/dired.el
index 795ca3c3005..926bbee73a4 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2201,7 +2201,7 @@ FILES is the list of marked files."
2201 ;; Point must be at beginning of line 2201 ;; Point must be at beginning of line
2202 ;; Should be equivalent to (save-excursion (not (dired-move-to-filename))) 2202 ;; Should be equivalent to (save-excursion (not (dired-move-to-filename)))
2203 ;; but is about 1.5..2.0 times as fast. (Actually that's not worth it) 2203 ;; but is about 1.5..2.0 times as fast. (Actually that's not worth it)
2204 (or (looking-at "^$\\|^. *$\\|^. total\\|^. wildcard\\|^. used") 2204 (or (looking-at "^$\\|^. *$\\|^. total\\|^. wildcard\\|^. used\\|^. find")
2205 (and (looking-at dired-subdir-regexp) 2205 (and (looking-at dired-subdir-regexp)
2206 (save-excursion (not (dired-move-to-filename)))))) 2206 (save-excursion (not (dired-move-to-filename))))))
2207 2207