summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2004-05-30 21:50:35 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2004-05-30 21:50:35 +0000
commit1f3ade4f4d655af643076a7f7144910fb4eaabd2 (patch)
treec3bf42b82ea62e968f1f84e67d4d6fcd9c2f703e /lisp/replace.el
parentae229809f768ded8a243c670f0c7034fb8bb01f6 (diff)
downloademacs-1f3ade4f4d655af643076a7f7144910fb4eaabd2.tar.gz
(query-replace-interactive): Convert defvar into defcustom.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index e14e1314352..f7afcd594cf 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -36,9 +36,11 @@
(defvar query-replace-history nil)
-(defvar query-replace-interactive nil
+(defcustom query-replace-interactive nil
"Non-nil means `query-replace' uses the last search string.
-That becomes the \"string to replace\".")
+That becomes the \"string to replace\"."
+ :type 'boolean
+ :group 'matching)
(defcustom query-replace-from-history-variable 'query-replace-history
"History list to use for the FROM argument of `query-replace' commands.