From: Kim F. Storm Date: Mon, 13 Sep 2004 08:18:22 +0000 (+0000) Subject: (isearch-resume-in-command-history): Rename from X-Git-Tag: ttn-vms-21-2-B4~4935 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00098b0131e6906b8b03df35576c2cb6c3b035e5;p=emacs.git (isearch-resume-in-command-history): Rename from isearch-resume-enabled and change default to nil. --- 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