diff options
| author | Richard M. Stallman | 1997-05-05 15:00:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-05 15:00:53 +0000 |
| commit | 9d325ebf0d4ff46c16515abcfb17310b246b4b86 (patch) | |
| tree | 4ec72180004e606a0ad3012504cd4c310e61c9c1 /lisp/replace.el | |
| parent | 69c1dd37e33fdfc03617413a453c1fcfb3cd0551 (diff) | |
| download | emacs-9d325ebf0d4ff46c16515abcfb17310b246b4b86.tar.gz emacs-9d325ebf0d4ff46c16515abcfb17310b246b4b86.zip | |
Use defgroup and defcustom.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index d1acbc6309b..67c02026352 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -26,8 +26,10 @@ | |||
| 26 | 26 | ||
| 27 | ;;; Code: | 27 | ;;; Code: |
| 28 | 28 | ||
| 29 | (defvar case-replace t "\ | 29 | (defcustom case-replace t |
| 30 | *Non-nil means query-replace should preserve case in replacements.") | 30 | "*Non-nil means query-replace should preserve case in replacements." |
| 31 | :type 'boolean | ||
| 32 | :group 'matching) | ||
| 31 | 33 | ||
| 32 | (defvar query-replace-history nil) | 34 | (defvar query-replace-history nil) |
| 33 | 35 | ||
| @@ -327,10 +329,12 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it. | |||
| 327 | (pop-to-buffer occur-buffer) | 329 | (pop-to-buffer occur-buffer) |
| 328 | (goto-char (marker-position pos)))) | 330 | (goto-char (marker-position pos)))) |
| 329 | 331 | ||
| 330 | (defvar list-matching-lines-default-context-lines 0 | 332 | (defcustom list-matching-lines-default-context-lines 0 |
| 331 | "*Default number of context lines to include around a `list-matching-lines' | 333 | "*Default number of context lines to include around a `list-matching-lines' |
| 332 | match. A negative number means to include that many lines before the match. | 334 | match. A negative number means to include that many lines before the match. |
| 333 | A positive number means to include that many lines both before and after.") | 335 | A positive number means to include that many lines both before and after." |
| 336 | :type 'integer | ||
| 337 | :group 'matching) | ||
| 334 | 338 | ||
| 335 | (defalias 'list-matching-lines 'occur) | 339 | (defalias 'list-matching-lines 'occur) |
| 336 | 340 | ||
| @@ -740,8 +744,10 @@ which will run faster and probably do exactly what you want." | |||
| 740 | (if (= replace-count 1) "" "s"))) | 744 | (if (= replace-count 1) "" "s"))) |
| 741 | (and keep-going stack))) | 745 | (and keep-going stack))) |
| 742 | 746 | ||
| 743 | (defvar query-replace-highlight nil | 747 | (defcustom query-replace-highlight nil |
| 744 | "*Non-nil means to highlight words during query replacement.") | 748 | "*Non-nil means to highlight words during query replacement." |
| 749 | :type 'boolean | ||
| 750 | :group 'matching) | ||
| 745 | 751 | ||
| 746 | (defvar replace-overlay nil) | 752 | (defvar replace-overlay nil) |
| 747 | 753 | ||