comparison lisp/replace.el @ 93121:9e1bcf73b012

(occur-mode-map): Add :help.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 21 Mar 2008 06:12:35 +0000
parents 5e627a8698d8
children dea0b823c8e2
comparison
equal deleted inserted replaced
93120:ade33d67202c 93121:9e1bcf73b012
750 (menu-bar-make-mm-toggle next-error-follow-minor-mode 750 (menu-bar-make-mm-toggle next-error-follow-minor-mode
751 "Auto Occurrence Display" 751 "Auto Occurrence Display"
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
778 (defvar occur-revert-arguments nil 788 (defvar occur-revert-arguments nil
779 "Arguments to pass to `occur-1' to revert an Occur mode buffer. 789 "Arguments to pass to `occur-1' to revert an Occur mode buffer.