summaryrefslogtreecommitdiff
path: root/lisp/isearch-old.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-07-28 02:14:03 +0000
committerRichard M. Stallman <rms@gnu.org>1992-07-28 02:14:03 +0000
commit56dc48ff27aead1d92b44293bcffacb1d429c36a (patch)
tree7c55249bf01aea1ef221b72de9b89a99c5017bb2 /lisp/isearch-old.el
parentaaa8a4bdec17af6e8f89bf96f9563b690ded969b (diff)
downloademacs-56dc48ff27aead1d92b44293bcffacb1d429c36a.tar.gz
entered into RCS
Diffstat (limited to 'lisp/isearch-old.el')
-rw-r--r--lisp/isearch-old.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch-old.el b/lisp/isearch-old.el
index a030ba4f4c9..ee7a1b04476 100644
--- a/lisp/isearch-old.el
+++ b/lisp/isearch-old.el
@@ -449,7 +449,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
(setq regexp-search-ring (cons (cons search-string uppercase-flag)
regexp-search-ring)
regexp-search-ring-yank-pointer regexp-search-ring)
- (if (> (length regexp-search-ring) regexp-search-ring-max)
+ (if (> (length regexp-search-ring) search-ring-max)
(setcdr (nthcdr (1- search-ring-max) regexp-search-ring) nil)))
(if (not (member search-string search-ring))
(progn