Mercurial > emacs
diff lisp/isearch.el @ 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 | 862d0c555534 |
children | e2c34e75e585 566253900690 |
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