diff options
| author | Richard M. Stallman | 1997-05-05 01:11:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-05 01:11:30 +0000 |
| commit | de3c9b09b43bce4ff656cf6ca289619d5df8de56 (patch) | |
| tree | 9ae1d1877406e43ecf13705428b886549d49585b /lisp/replace.el | |
| parent | 4510b9025112c9a239eabaece61fbafd7de118f6 (diff) | |
| download | emacs-de3c9b09b43bce4ff656cf6ca289619d5df8de56.tar.gz emacs-de3c9b09b43bce4ff656cf6ca289619d5df8de56.zip | |
(occur-mode): Add a mode-class property.
(occur): Doc fix.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 30109b87ba7..d1acbc6309b 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -252,6 +252,8 @@ Applies to lines after point." | |||
| 252 | (defvar occur-command-arguments nil | 252 | (defvar occur-command-arguments nil |
| 253 | "Arguments that were given to `occur' when it made this buffer.") | 253 | "Arguments that were given to `occur' when it made this buffer.") |
| 254 | 254 | ||
| 255 | (put 'occur-mode 'mode-class 'special) | ||
| 256 | |||
| 255 | (defun occur-mode () | 257 | (defun occur-mode () |
| 256 | "Major mode for output from \\[occur]. | 258 | "Major mode for output from \\[occur]. |
| 257 | \\<occur-mode-map>Move point to one of the items in this buffer, then use | 259 | \\<occur-mode-map>Move point to one of the items in this buffer, then use |
| @@ -348,10 +350,10 @@ Interactively it is the prefix arg. | |||
| 348 | 350 | ||
| 349 | The lines are shown in a buffer named `*Occur*'. | 351 | The lines are shown in a buffer named `*Occur*'. |
| 350 | It serves as a menu to find any of the occurrences in this buffer. | 352 | It serves as a menu to find any of the occurrences in this buffer. |
| 351 | \\[describe-mode] in that buffer will explain how. | 353 | \\<occur-mode-map>\\[describe-mode] in that buffer will explain how. |
| 352 | 354 | ||
| 353 | If REGEXP contains upper case characters (excluding those preceded by | 355 | If REGEXP contains upper case characters (excluding those preceded by `\\'), |
| 354 | \\), the matching is case-sensitive." | 356 | the matching is case-sensitive." |
| 355 | (interactive | 357 | (interactive |
| 356 | (list (let* ((default (car regexp-history)) | 358 | (list (let* ((default (car regexp-history)) |
| 357 | (input | 359 | (input |