summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-03-22 16:56:19 -0700
committerGlenn Morris <rgm@gnu.org>2014-03-22 16:56:19 -0700
commit5dbc3244732d3eb33809304f8d887f943cde780d (patch)
tree831f82b12d2bee6f1747b3f1468dd11ab13aba6f /lisp/dired-aux.el
parent00156f954984c1084180ca87832fcd32f05aa327 (diff)
downloademacs-5dbc3244732d3eb33809304f8d887f943cde780d.tar.gz
Make dired-read-regexp obsolete
It's not worth having such a trivial wrapper for read-regexp. * lisp/dired.el (dired-read-regexp): Make obsolete. (dired-mark-files-regexp, dired-mark-files-containing-regexp) (dired-flag-files-regexp): * lisp/dired-aux.el (dired-mark-read-regexp): * lisp/dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 1129dfd89f6..b59b7cecc34 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1,7 +1,7 @@
;;; dired-aux.el --- less commonly used parts of dired
-;; Copyright (C) 1985-1986, 1992, 1994, 1998, 2000-2014 Free Software
-;; Foundation, Inc.
+;; Copyright (C) 1985-1986, 1992, 1994, 1998, 2000-2014
+;; Free Software Foundation, Inc.
;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>.
;; Maintainer: emacs-devel@gnu.org
@@ -1921,8 +1921,9 @@ Type SPC or `y' to %s one match, DEL or `n' to skip to next,
(arg
(if whole-name nil current-prefix-arg))
(regexp
- (dired-read-regexp
- (concat (if whole-name "Abs. " "") operation " from (regexp): ")))
+ (read-regexp
+ (concat (if whole-name "Abs. " "") operation " from (regexp): ")
+ nil 'dired-regexp-history))
(newname
(read-string
(concat (if whole-name "Abs. " "") operation " " regexp " to: "))))