summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-03-21 06:12:35 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-03-21 06:12:35 +0000
commita22f42ace8eda922d220f5264fcc9aa4bcac5f62 (patch)
treea7b4e4342137fb653e6ae5d38e4d157e8a1fc9aa /lisp/replace.el
parent175e5186e228911eb75e1d94f38f1ef27c336858 (diff)
downloademacs-a22f42ace8eda922d220f5264fcc9aa4bcac5f62.tar.gz
(occur-mode-map): Add :help.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el30
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."
"Display another occurrence when moving the cursor"))
(define-key map [separator-1] '("--"))
(define-key map [kill-this-buffer]
- '("Kill occur buffer" . kill-this-buffer))
+ '(menu-item "Kill occur buffer" kill-this-buffer
+ :help "Kill the current *Occur* buffer"))
(define-key map [quit-window]
- '("Quit occur window" . quit-window))
+ '(menu-item "Quit occur window" quit-window
+ :help "Quit the current *Occur* buffer. Bury it, and maybe delete the selected frame"))
(define-key map [revert-buffer]
- '("Revert occur buffer" . revert-buffer))
+ '(menu-item "Revert occur buffer" revert-buffer
+ :help "Replace the text in the *Occur* buffer with the results of rerunning occur"))
(define-key map [clone-buffer]
- '("Clone occur buffer" . clone-buffer))
+ '(menu-item "Clone occur buffer" clone-buffer
+ :help "Create and return a twin copy of the current *Occur* buffer"))
(define-key map [occur-rename-buffer]
- '("Rename occur buffer" . occur-rename-buffer))
+ '(menu-item "Rename occur buffer" occur-rename-buffer
+ :help "Rename the current *Occur* buffer to *Occur: original-buffer-name*."))
(define-key map [separator-2] '("--"))
(define-key map [occur-mode-goto-occurrence-other-window]
- '("Go To Occurrence Other Window" . occur-mode-goto-occurrence-other-window))
+ '(menu-item "Go To Occurrence Other Window" occur-mode-goto-occurrence-other-window
+ :help "Go to the occurrence the current line describes, in another window"))
(define-key map [occur-mode-goto-occurrence]
- '("Go To Occurrence" . occur-mode-goto-occurrence))
+ '(menu-item "Go To Occurrence" occur-mode-goto-occurrence
+ :help "Go to the occurrence the current line describes"))
(define-key map [occur-mode-display-occurrence]
- '("Display Occurrence" . occur-mode-display-occurrence))
+ '(menu-item "Display Occurrence" occur-mode-display-occurrence
+ :help "Display in another window the occurrence the current line describes"))
(define-key map [occur-next]
- '("Move to next match" . occur-next))
+ '(menu-item "Move to next match" occur-next
+ :help "Move to the Nth (default 1) next match in an Occur mode buffer"))
(define-key map [occur-prev]
- '("Move to previous match" . occur-prev))
+ '(menu-item "Move to previous match" occur-prev
+ :help "Move to the Nth (default 1) previous match in an Occur mode buffer"))
map)
"Keymap for `occur-mode'.")