Commit 00098b01 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(isearch-resume-in-command-history): Rename from

isearch-resume-enabled and change default to nil.
parent 93e212f9
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment