[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/isearch.el
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/isearch.el |
Date: |
Sat, 01 Dec 2001 20:12:16 -0500 |
Index: emacs/lisp/isearch.el
diff -c emacs/lisp/isearch.el:1.201 emacs/lisp/isearch.el:1.202
*** emacs/lisp/isearch.el:1.201 Wed Nov 28 17:34:20 2001
--- emacs/lisp/isearch.el Sat Dec 1 20:12:16 2001
***************
*** 186,191 ****
--- 186,196 ----
:type 'boolean
:group 'isearch)
+ (defcustom isearch-resume-enabled t
+ "*If non-nil, `isearch-resume' commands are added to the command history."
+ :type 'boolean
+ :group 'isearch)
+
(defvar isearch-mode-hook nil
"Function(s) to call after starting up an incremental search.")
***************
*** 647,658 ****
(setq disable-point-adjustment t))
(defun isearch-done (&optional nopush edit)
! (let ((command `(isearch-resume ,isearch-string ,isearch-regexp
! ,isearch-word ,isearch-forward
! ,isearch-message
! ',isearch-case-fold-search)))
! (unless (equal (car command-history) command)
! (setq command-history (cons command command-history))))
(remove-hook 'mouse-leave-buffer-hook 'isearch-done)
(remove-hook 'kbd-macro-termination-hook 'isearch-done)
--- 652,664 ----
(setq disable-point-adjustment t))
(defun isearch-done (&optional nopush edit)
! (if isearch-resume-enabled
! (let ((command `(isearch-resume ,isearch-string ,isearch-regexp
! ,isearch-word ,isearch-forward
! ,isearch-message
! ',isearch-case-fold-search)))
! (unless (equal (car command-history) command)
! (setq command-history (cons command command-history)))))
(remove-hook 'mouse-leave-buffer-hook 'isearch-done)
(remove-hook 'kbd-macro-termination-hook 'isearch-done)
- [Emacs-diffs] Changes to emacs/lisp/isearch.el,
Kim F. Storm <=
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Pavel JanÃk, 2001/12/03
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Richard M. Stallman, 2001/12/10
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Richard M. Stallman, 2001/12/15
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Richard M. Stallman, 2001/12/15
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Richard M. Stallman, 2001/12/16
- [Emacs-diffs] Changes to emacs/lisp/isearch.el, Karl Fogel, 2001/12/19