diff options
| author | Dan Nicolaescu | 2008-03-21 06:12:35 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-03-21 06:12:35 +0000 |
| commit | a22f42ace8eda922d220f5264fcc9aa4bcac5f62 (patch) | |
| tree | a7b4e4342137fb653e6ae5d38e4d157e8a1fc9aa /lisp | |
| parent | 175e5186e228911eb75e1d94f38f1ef27c336858 (diff) | |
| download | emacs-a22f42ace8eda922d220f5264fcc9aa4bcac5f62.tar.gz emacs-a22f42ace8eda922d220f5264fcc9aa4bcac5f62.zip | |
(occur-mode-map): Add :help.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/replace.el | 30 |
2 files changed, 22 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 124abd127d9..762a3d2b4a2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * replace.el (occur-mode-map): Add :help. | ||
| 4 | |||
| 3 | * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry | 5 | * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry |
| 4 | for disassemble. | 6 | for disassemble. |
| 5 | 7 | ||
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 | ||