diff options
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 3680d574e8c..d62da35f082 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -752,26 +752,36 @@ a previously found match." | |||
| 752 | "Display another occurrence when moving the cursor")) | 752 | "Display another occurrence when moving the cursor")) |
| 753 | (define-key map [separator-1] '("--")) | 753 | (define-key map [separator-1] '("--")) |
| 754 | (define-key map [kill-this-buffer] | 754 | (define-key map [kill-this-buffer] |
| 755 | '("Kill occur buffer" . kill-this-buffer)) | 755 | '(menu-item "Kill occur buffer" kill-this-buffer |
| 756 | :help "Kill the current *Occur* buffer")) | ||
| 756 | (define-key map [quit-window] | 757 | (define-key map [quit-window] |
| 757 | '("Quit occur window" . quit-window)) | 758 | '(menu-item "Quit occur window" quit-window |
| 759 | :help "Quit the current *Occur* buffer. Bury it, and maybe delete the selected frame")) | ||
| 758 | (define-key map [revert-buffer] | 760 | (define-key map [revert-buffer] |
| 759 | '("Revert occur buffer" . revert-buffer)) | 761 | '(menu-item "Revert occur buffer" revert-buffer |
| 762 | :help "Replace the text in the *Occur* buffer with the results of rerunning occur")) | ||
| 760 | (define-key map [clone-buffer] | 763 | (define-key map [clone-buffer] |
| 761 | '("Clone occur buffer" . clone-buffer)) | 764 | '(menu-item "Clone occur buffer" clone-buffer |
| 765 | :help "Create and return a twin copy of the current *Occur* buffer")) | ||
| 762 | (define-key map [occur-rename-buffer] | 766 | (define-key map [occur-rename-buffer] |
| 763 | '("Rename occur buffer" . occur-rename-buffer)) | 767 | '(menu-item "Rename occur buffer" occur-rename-buffer |
| 768 | :help "Rename the current *Occur* buffer to *Occur: original-buffer-name*.")) | ||
| 764 | (define-key map [separator-2] '("--")) | 769 | (define-key map [separator-2] '("--")) |
| 765 | (define-key map [occur-mode-goto-occurrence-other-window] | 770 | (define-key map [occur-mode-goto-occurrence-other-window] |
| 766 | '("Go To Occurrence Other Window" . occur-mode-goto-occurrence-other-window)) | 771 | '(menu-item "Go To Occurrence Other Window" occur-mode-goto-occurrence-other-window |
| 772 | :help "Go to the occurrence the current line describes, in another window")) | ||
| 767 | (define-key map [occur-mode-goto-occurrence] | 773 | (define-key map [occur-mode-goto-occurrence] |
| 768 | '("Go To Occurrence" . occur-mode-goto-occurrence)) | 774 | '(menu-item "Go To Occurrence" occur-mode-goto-occurrence |
| 775 | :help "Go to the occurrence the current line describes")) | ||
| 769 | (define-key map [occur-mode-display-occurrence] | 776 | (define-key map [occur-mode-display-occurrence] |
| 770 | '("Display Occurrence" . occur-mode-display-occurrence)) | 777 | '(menu-item "Display Occurrence" occur-mode-display-occurrence |
| 778 | :help "Display in another window the occurrence the current line describes")) | ||
| 771 | (define-key map [occur-next] | 779 | (define-key map [occur-next] |
| 772 | '("Move to next match" . occur-next)) | 780 | '(menu-item "Move to next match" occur-next |
| 781 | :help "Move to the Nth (default 1) next match in an Occur mode buffer")) | ||
| 773 | (define-key map [occur-prev] | 782 | (define-key map [occur-prev] |
| 774 | '("Move to previous match" . occur-prev)) | 783 | '(menu-item "Move to previous match" occur-prev |
| 784 | :help "Move to the Nth (default 1) previous match in an Occur mode buffer")) | ||
| 775 | map) | 785 | map) |
| 776 | "Keymap for `occur-mode'.") | 786 | "Keymap for `occur-mode'.") |
| 777 | 787 | ||