From 00098b0131e6906b8b03df35576c2cb6c3b035e5 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 13 Sep 2004 08:18:22 +0000 Subject: [PATCH] (isearch-resume-in-command-history): Rename from isearch-resume-enabled and change default to nil. --- lisp/isearch.el | 8 +++++--- 1 file 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." :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 @@ is treated as a regexp. See \\[isearch-forward] for more info." (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 -- 2.39.5