changeset 57083:a74474ba690a

(isearch-resume-in-command-history): Rename from isearch-resume-enabled and change default to nil.
author Kim F. Storm <storm@cua.dk>
date Mon, 13 Sep 2004 08:18:22 +0000
parents e7937a30d254
children cdba91059d7d
files lisp/isearch.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Mon Sep 13 08:17:56 2004 +0000
+++ b/lisp/isearch.el	Mon Sep 13 08:18:22 2004 +0000
@@ -146,8 +146,10 @@
   :type 'boolean
   :group 'isearch)
 
-(defcustom isearch-resume-enabled t
-  "*If non-nil, `isearch-resume' commands are added to the command history."
+(defcustom isearch-resume-in-command-history nil
+  "*If non-nil, `isearch-resume' commands are added to the command history.
+This allows you to resume earlier isearch sessions through the
+command history."
   :type 'boolean
   :group 'isearch)
 
@@ -651,7 +653,7 @@
   (setq disable-point-adjustment t))
 
 (defun isearch-done (&optional nopush edit)
-  (if isearch-resume-enabled
+  (if isearch-resume-in-command-history
       (let ((command `(isearch-resume ,isearch-string ,isearch-regexp
 				      ,isearch-word ,isearch-forward
 				      ,isearch-message