aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-09-13 08:18:22 +0000
committerKim F. Storm2004-09-13 08:18:22 +0000
commit00098b0131e6906b8b03df35576c2cb6c3b035e5 (patch)
tree681de3df95fbd2776cb97e91c46d8514e95bef94
parent93e212f940c5cf5231e3dd2884a8c5c0e1e1d80a (diff)
downloademacs-00098b0131e6906b8b03df35576c2cb6c3b035e5.tar.gz
emacs-00098b0131e6906b8b03df35576c2cb6c3b035e5.zip
(isearch-resume-in-command-history): Rename from
isearch-resume-enabled and change default to nil.
-rw-r--r--lisp/isearch.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 2398d56ab5f..117d1bfdc13 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -146,8 +146,10 @@ Ordinarily the text becomes invisible again at the end of the search."
146 :type 'boolean 146 :type 'boolean
147 :group 'isearch) 147 :group 'isearch)
148 148
149(defcustom isearch-resume-enabled t 149(defcustom isearch-resume-in-command-history nil
150 "*If non-nil, `isearch-resume' commands are added to the command history." 150 "*If non-nil, `isearch-resume' commands are added to the command history.
151This allows you to resume earlier isearch sessions through the
152command history."
151 :type 'boolean 153 :type 'boolean
152 :group 'isearch) 154 :group 'isearch)
153 155
@@ -651,7 +653,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
651 (setq disable-point-adjustment t)) 653 (setq disable-point-adjustment t))
652 654
653(defun isearch-done (&optional nopush edit) 655(defun isearch-done (&optional nopush edit)
654 (if isearch-resume-enabled 656 (if isearch-resume-in-command-history
655 (let ((command `(isearch-resume ,isearch-string ,isearch-regexp 657 (let ((command `(isearch-resume ,isearch-string ,isearch-regexp
656 ,isearch-word ,isearch-forward 658 ,isearch-word ,isearch-forward
657 ,isearch-message 659 ,isearch-message