]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-menu-map): New keymap--both fn and var.
authorRichard M. Stallman <rms@gnu.org>
Mon, 12 Jul 1993 20:31:52 +0000 (20:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 12 Jul 1993 20:31:52 +0000 (20:31 +0000)
lisp/textmodes/ispell4.el

index 2fe07e823d415f966bc064549cdec9b68662c029..2fd81579bbea73f23f43d1c122eaafbe8345aeb4 100644 (file)
@@ -213,6 +213,24 @@ that have not already been dumped will be lost."
 (defun ispell-tex-buffer-p ()
   (memq major-mode '(plain-TeX-mode LaTeX-mode)))
 
+(defvar ispell-menu-map (make-sparse-keymap "Spell"))
+(defalias ispell-menu-map ispell-menu-map)
+
+(define-key ispell-menu-map [reload-ispell]
+  '("Reload Dictionary" . reload-ispell))
+
+(define-key ispell-menu-map [ispell-next]
+  '("Continue Check" . ispell-next))
+
+(define-key ispell-menu-map [ispell-region]
+  '("Check Region" . ispell-region))
+
+(define-key ispell-menu-map [ispell-buffer]
+  '("Check Buffer" . ispell))
+
+(define-key ispell-menu-map [ispell-word]
+  '("Check Word" . ispell-word))
+
 ;;;###autoload
 (defun ispell (&optional buf start end)
   "Run Ispell over current buffer's visited file.