1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Fix previous change.

This commit is contained in:
Richard M. Stallman 1997-06-28 03:17:03 +00:00
parent 008c84933e
commit 97565dd9b7

View File

@ -197,14 +197,14 @@ A large number or nil slows down menu responsiveness."
(defun nonincremental-repeat-re-search-forward ()
"Search forward for the previous regular expression."
(interactive)
(if (null regex-search-ring)
(if (null regexp-search-ring)
(error "No previous search"))
(re-search-forward (car regexp-search-ring)))
(defun nonincremental-repeat-re-search-backward ()
"Search backward for the previous regular expression."
(interactive)
(if (null regex-search-ring)
(if (null regexp-search-ring)
(error "No previous search"))
(re-search-backward (car regexp-search-ring)))