diff options
| author | Richard M. Stallman | 1993-05-17 18:22:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-17 18:22:37 +0000 |
| commit | 7492a21ec20088e1e3c55dc9eca09ab267e04478 (patch) | |
| tree | cf202956f4608fa67e07721ae0f87ad71f00619f | |
| parent | bd66d1baeb4ae87be0180d1148e51e15965f9632 (diff) | |
| download | emacs-7492a21ec20088e1e3c55dc9eca09ab267e04478.tar.gz emacs-7492a21ec20088e1e3c55dc9eca09ab267e04478.zip | |
(isearch-mode): Set deactivate-mark.
| -rw-r--r-- | lisp/isearch.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 9833d7d0126..af294a8fffd 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> | 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> |
| 6 | 6 | ||
| 7 | ;; |$Date: 1993/05/14 18:02:55 $|$Revision: 1.32 $ | 7 | ;; |$Date: 1993/05/15 20:05:36 $|$Revision: 1.33 $ |
| 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. |
| @@ -92,8 +92,11 @@ | |||
| 92 | ;;;==================================================================== | 92 | ;;;==================================================================== |
| 93 | ;;; Change History | 93 | ;;; Change History |
| 94 | 94 | ||
| 95 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.32 1993/05/14 18:02:55 rms Exp rms $ | 95 | ;;; $Header: /home/fsf/rms/e19/lisp/RCS/isearch.el,v 1.33 1993/05/15 20:05:36 rms Exp rms $ |
| 96 | ;;; $Log: isearch.el,v $ | 96 | ;;; $Log: isearch.el,v $ |
| 97 | ; Revision 1.33 1993/05/15 20:05:36 rms | ||
| 98 | ; (isearch-done): Don't activate mark. | ||
| 99 | ; | ||
| 97 | ; Revision 1.32 1993/05/14 18:02:55 rms | 100 | ; Revision 1.32 1993/05/14 18:02:55 rms |
| 98 | ; (isearch-mode-map): Handle any length vector in keymap. | 101 | ; (isearch-mode-map): Handle any length vector in keymap. |
| 99 | ; (isearch-char-to-string): Handle non-character events properly. | 102 | ; (isearch-char-to-string): Handle non-character events properly. |
| @@ -609,6 +612,10 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 609 | (setq isearch-mode " Isearch") ;; forward? regexp? | 612 | (setq isearch-mode " Isearch") ;; forward? regexp? |
| 610 | (set-buffer-modified-p (buffer-modified-p)) ; update modeline | 613 | (set-buffer-modified-p (buffer-modified-p)) ; update modeline |
| 611 | 614 | ||
| 615 | ;; It is ugly to show region highlighting while the search | ||
| 616 | ;; is going on. And we don't want the mark active at the end either. | ||
| 617 | (setq deactivate-mark t) | ||
| 618 | |||
| 612 | (isearch-push-state) | 619 | (isearch-push-state) |
| 613 | 620 | ||
| 614 | (use-local-map isearch-mode-map) | 621 | (use-local-map isearch-mode-map) |