changeset 55868:0311117a7581

(query-replace-interactive): Convert defvar into defcustom.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 30 May 2004 21:50:35 +0000
parents 5514ad802f6b
children 96b6267053d1
files lisp/replace.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/replace.el	Sun May 30 21:46:34 2004 +0000
+++ b/lisp/replace.el	Sun May 30 21:50:35 2004 +0000
@@ -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.