aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorPer Abrahamsen2002-02-17 12:15:17 +0000
committerPer Abrahamsen2002-02-17 12:15:17 +0000
commita9c6d330d55b3c79780146346de165bb96ddfaba (patch)
tree71e624a95b4110383a181eb271fb59dcf3bc52d7 /lisp/textmodes
parent3eda3649dbcdafbbefa1bd5c8385b3387295b65f (diff)
downloademacs-a9c6d330d55b3c79780146346de165bb96ddfaba.tar.gz
emacs-a9c6d330d55b3c79780146346de165bb96ddfaba.zip
2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-showhide-menu): Added speedbar. (menu-bar-tools-menu): Removed speedbar. * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell' and `flyspell-mode' entries. * textmodes/flyspell.el (flyspell): Add to ispell group.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/flyspell.el1
-rw-r--r--lisp/textmodes/ispell.el11
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 292df46976d..44e5f9a92aa 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -51,6 +51,7 @@
51 "Spell checking on the fly." 51 "Spell checking on the fly."
52 :tag "FlySpell" 52 :tag "FlySpell"
53 :prefix "flyspell-" 53 :prefix "flyspell-"
54 :group 'ispell
54 :group 'processes) 55 :group 'processes)
55 56
56;*---------------------------------------------------------------------*/ 57;*---------------------------------------------------------------------*/
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 180bedc6481..041a4935111 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1,6 +1,6 @@
1;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2 1;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2
2 2
3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4 4
5;; Author: Ken Stevens <k.stevens@ieee.org> 5;; Author: Ken Stevens <k.stevens@ieee.org>
6;; Maintainer: Ken Stevens <k.stevens@ieee.org> 6;; Maintainer: Ken Stevens <k.stevens@ieee.org>
@@ -878,11 +878,20 @@ and added as a submenu of the \"Edit\" menu.")
878 '(menu-item "Save Dictionary" 878 '(menu-item "Save Dictionary"
879 (lambda () (interactive) (ispell-pdict-save t t)) 879 (lambda () (interactive) (ispell-pdict-save t t))
880 :help "Save personal dictionary")) 880 :help "Save personal dictionary"))
881 (define-key ispell-menu-map [ispell-customize]
882 '(menu-item "Customize..."
883 (lambda () (interactive) (customize-group 'ispell))
884 :help "Customize spell checking options"))
881 (define-key ispell-menu-map [ispell-help] 885 (define-key ispell-menu-map [ispell-help]
882 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ? 886 ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ?
883 '(menu-item "Help" 887 '(menu-item "Help"
884 (lambda () (interactive) (describe-function 'ispell-help)) 888 (lambda () (interactive) (describe-function 'ispell-help))
885 :help "Show standard Ispell keybindings and commands")) 889 :help "Show standard Ispell keybindings and commands"))
890 (define-key ispell-menu-map [flyspell-mode]
891 '(menu-item "Automatic spell checking (Flyspell)"
892 flyspell-mode
893 :help "Check spelling while you edit the text"
894 :button (:toggle . flyspell-mode)))
886 (define-key ispell-menu-map [ispell-complete-word] 895 (define-key ispell-menu-map [ispell-complete-word]
887 '(menu-item "Complete Word" ispell-complete-word 896 '(menu-item "Complete Word" ispell-complete-word
888 :help "Complete word at cursor using dictionary")) 897 :help "Complete word at cursor using dictionary"))