Variable: ispell-menu-map
ispell-menu-map is a variable defined in ispell.el.gz.
Value
<ispell-continue> <and> <equal> <current-buffer> nil
<ispell-customize> <lambda> <interactive> nil
<ispell-help> <lambda> <interactive> nil
<ispell-kill-ispell> <lambda> <interactive> nil
<ispell-pdict-save> <lambda> <interactive> nil
Documentation
Key map for ispell menu.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
;;;###autoload
(defconst ispell-menu-map
;; Use `defconst' so as to redo the menu when loading ispell, like the
;; previous code did.
;; Define commands in menu in opposite order you want them to appear.
(let ((map (make-sparse-keymap "Spell")))
(define-key map [ispell-change-dictionary]
`(menu-item ,(purecopy "Change Dictionary...") ispell-change-dictionary
:help ,(purecopy "Supply explicit dictionary file name")))
(define-key map [ispell-kill-ispell]
`(menu-item ,(purecopy "Kill Process")
(lambda () (interactive) (ispell-kill-ispell nil 'clear))
:enable (and (boundp 'ispell-process) ispell-process
(eq (ispell-process-status) 'run))
:help ,(purecopy "Terminate Ispell subprocess")))
(define-key map [ispell-pdict-save]
`(menu-item ,(purecopy "Save Dictionary")
(lambda () (interactive) (ispell-pdict-save t t))
:help ,(purecopy "Save personal dictionary")))
(define-key map [ispell-customize]
`(menu-item ,(purecopy "Customize...")
(lambda () (interactive) (customize-group 'ispell))
:help ,(purecopy "Customize spell checking options")))
(define-key map [ispell-help]
;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ?
`(menu-item ,(purecopy "Help")
(lambda () (interactive) (describe-function 'ispell-help))
:help ,(purecopy "Show standard Ispell keybindings and commands")))
(define-key map [flyspell-mode]
`(menu-item ,(purecopy "Automatic spell checking (Flyspell)")
flyspell-mode
:help ,(purecopy "Check spelling while you edit the text")
:button (:toggle . (bound-and-true-p flyspell-mode))))
(define-key map [ispell-complete-word]
`(menu-item ,(purecopy "Complete Word") ispell-complete-word
:help ,(purecopy "Complete word at cursor using dictionary")))
(define-key map [ispell-complete-word-interior-frag]
`(menu-item ,(purecopy "Complete Word Fragment")
ispell-complete-word-interior-frag
:help ,(purecopy "Complete word fragment at cursor")))
(define-key map [ispell-continue]
`(menu-item ,(purecopy "Continue Spell-Checking") ispell-continue
:enable (and (boundp 'ispell-region-end)
(marker-position ispell-region-end)
(equal (marker-buffer ispell-region-end)
(current-buffer)))
:help ,(purecopy "Continue spell checking last region")))
(define-key map [ispell-word]
`(menu-item ,(purecopy "Spell-Check Word") ispell-word
:help ,(purecopy "Spell-check word at cursor")))
(define-key map [ispell-comments-and-strings]
`(menu-item ,(purecopy "Spell-Check Comments")
ispell-comments-and-strings
:help ,(purecopy "Spell-check only comments and strings")))
(define-key map [ispell-region]
`(menu-item ,(purecopy "Spell-Check Region") ispell-region
:enable mark-active
:help ,(purecopy "Spell-check text in marked region")))
(define-key map [ispell-message]
`(menu-item ,(purecopy "Spell-Check Message") ispell-message
:visible (eq major-mode 'mail-mode)
:help ,(purecopy "Skip headers and included message text")))
(define-key map [ispell-buffer]
`(menu-item ,(purecopy "Spell-Check Buffer") ispell-buffer
:help ,(purecopy "Check spelling of selected buffer")))
map)
"Key map for ispell menu.")