diff options
| author | Richard M. Stallman | 1993-02-17 21:30:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-02-17 21:30:25 +0000 |
| commit | 4ae7d00a1e00f0b131fe5442ac3a87a93f433457 (patch) | |
| tree | 5aab49183fd0f8e89ff0348c43cf024a14ffa875 | |
| parent | 7e4263eb77b4403b445509047fa4154845050269 (diff) | |
| download | emacs-4ae7d00a1e00f0b131fe5442ac3a87a93f433457.tar.gz emacs-4ae7d00a1e00f0b131fe5442ac3a87a93f433457.zip | |
Fix minor bugs in previous change.
| -rw-r--r-- | lisp/isearch.el | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index f4e15dcad9f..7a90f3a307e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | ;; LCD Archive Entry: | 4 | ;; LCD Archive Entry: |
| 5 | ;; isearch-mode|Daniel LaLiberte|liberte@cs.uiuc.edu | 5 | ;; isearch-mode|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 6 | ;; |A minor mode replacement for isearch.el. | 6 | ;; |A minor mode replacement for isearch.el. |
| 7 | ;; |$Date: 1993/01/26 01:48:27 $|$Revision: 1.17 $|~/modes/isearch-mode.el | 7 | ;; |$Date: 1993/02/17 20:34:20 $|$Revision: 1.18 $|~/modes/isearch-mode.el |
| 8 | 8 | ||
| 9 | ;; This file is not yet part of GNU Emacs, but it is based almost | 9 | ;; This file is not yet part of GNU Emacs, but it is based almost |
| 10 | ;; entirely on isearch.el which is part of GNU Emacs. | 10 | ;; entirely on isearch.el which is part of GNU Emacs. |
| @@ -88,8 +88,15 @@ | |||
| 88 | ;;;==================================================================== | 88 | ;;;==================================================================== |
| 89 | ;;; Change History | 89 | ;;; Change History |
| 90 | 90 | ||
| 91 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch-mode.el,v 1.17 1993/01/26 01:48:27 jimb Exp rms $ | 91 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch-mode.el,v 1.18 1993/02/17 20:34:20 rms Exp rms $ |
| 92 | ;;; $Log: isearch-mode.el,v $ | 92 | ;;; $Log: isearch-mode.el,v $ |
| 93 | ; Revision 1.18 1993/02/17 20:34:20 rms | ||
| 94 | ; (isearch-backward-regexp): | ||
| 95 | ; New arg no-recursive-edit, always non-nil for interactive call. | ||
| 96 | ; Rename first arg, and set it right in interactive call. | ||
| 97 | ; (isearch-forward-regexp): Likewise. | ||
| 98 | ; (isearch-forward, isearch-backward): Likewise no-recursive-edit. | ||
| 99 | ; | ||
| 93 | ; Revision 1.17 1993/01/26 01:48:27 jimb | 100 | ; Revision 1.17 1993/01/26 01:48:27 jimb |
| 94 | ; JimB's changes since January 18th | 101 | ; JimB's changes since January 18th |
| 95 | ; | 102 | ; |
| @@ -466,7 +473,7 @@ If this function is called non-interactively, it does not return to | |||
| 466 | the calling function until the search is done." | 473 | the calling function until the search is done." |
| 467 | 474 | ||
| 468 | (interactive "P\np") | 475 | (interactive "P\np") |
| 469 | (isearch-mode t (not (null regexp-p)) nil no-recursive-edit)) | 476 | (isearch-mode t (not (null regexp-p)) nil (not no-recursive-edit))) |
| 470 | 477 | ||
| 471 | (defun isearch-forward-regexp (&optional not-regexp no-recursive-edit) | 478 | (defun isearch-forward-regexp (&optional not-regexp no-recursive-edit) |
| 472 | "\ | 479 | "\ |
| @@ -475,7 +482,7 @@ With a prefix argument, do a regular string search instead. | |||
| 475 | Like ordinary incremental search except that your input | 482 | Like ordinary incremental search except that your input |
| 476 | is treated as a regexp. See \\[isearch-forward] for more info." | 483 | is treated as a regexp. See \\[isearch-forward] for more info." |
| 477 | (interactive "P\np") | 484 | (interactive "P\np") |
| 478 | (isearch-mode t (null not-regexp) nil no-recursive-edit)) | 485 | (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) |
| 479 | 486 | ||
| 480 | (defun isearch-backward (&optional regexp-p no-recursive-edit) | 487 | (defun isearch-backward (&optional regexp-p no-recursive-edit) |
| 481 | "\ | 488 | "\ |
| @@ -483,7 +490,7 @@ Do incremental search backward. | |||
| 483 | With a prefix argument, do a regular expression search instead. | 490 | With a prefix argument, do a regular expression search instead. |
| 484 | See \\[isearch-forward] for more information." | 491 | See \\[isearch-forward] for more information." |
| 485 | (interactive "P\np") | 492 | (interactive "P\np") |
| 486 | (isearch-mode nil (not (null regexp-p)) nil no-recursive-edit)) | 493 | (isearch-mode nil (not (null regexp-p)) nil (not no-recursive-edit))) |
| 487 | 494 | ||
| 488 | (defun isearch-backward-regexp (&optional not-regexp no-recursive-edit) | 495 | (defun isearch-backward-regexp (&optional not-regexp no-recursive-edit) |
| 489 | "\ | 496 | "\ |
| @@ -492,7 +499,7 @@ With a prefix argument, do a regular string search instead. | |||
| 492 | Like ordinary incremental search except that your input | 499 | Like ordinary incremental search except that your input |
| 493 | is treated as a regexp. See \\[isearch-forward] for more info." | 500 | is treated as a regexp. See \\[isearch-forward] for more info." |
| 494 | (interactive "P\np") | 501 | (interactive "P\np") |
| 495 | (isearch-mode nil (null not-regexp) nil no-recursive-edit)) | 502 | (isearch-mode nil (null not-regexp) nil (not no-recursive-edit))) |
| 496 | 503 | ||
| 497 | 504 | ||
| 498 | (defun isearch-mode-help () | 505 | (defun isearch-mode-help () |
| @@ -1553,3 +1560,4 @@ have special meaning in a regexp." | |||
| 1553 | ;; )) | 1560 | ;; )) |
| 1554 | 1561 | ||
| 1555 | ;;)) | 1562 | ;;)) |
| 1563 | |||