changeset 12292:f39e50542302

(forms--mode-menu-edit,forms--mode-menu-ro): Set `mouse-major-mode-menu'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Jun 1995 13:00:22 +0000
parents 5724b13e7b7b
children 7aa9cdf40d37
files lisp/forms.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/forms.el	Sat Jun 17 06:33:08 1995 +0000
+++ b/lisp/forms.el	Sat Jun 17 13:00:22 1995 +0000
@@ -282,10 +282,10 @@
 (provide 'forms)			;;; official
 (provide 'forms-mode)			;;; for compatibility
 
-(defconst forms-version (substring "$Revision: 2.15 $" 11 -2)
+(defconst forms-version (substring "$Revision: 2.16 $" 11 -2)
   "The version number of forms-mode (as string).  The complete RCS id is:
 
-  $Id: forms.el,v 2.15 1995/05/02 01:37:11 rms Exp kwzh $")
+  $Id: forms.el,v 2.16 1995/05/30 22:54:53 kwzh Exp rms $")
 
 (defvar forms-mode-hooks nil
   "Hook functions to be run upon entering Forms mode.")
@@ -1308,6 +1308,7 @@
     '("Next Field" . forms-next-field))
   (put 'forms-insert-record 'menu-enable '(not forms-read-only))
   (put 'forms-delete-record 'menu-enable '(not forms-read-only))
+  (setq mouse-major-mode-menu map)
 )
 (defun forms--mode-menu-edit (map)
 ;;; Menu initialisation
@@ -1354,6 +1355,7 @@
     '("Next Field" . forms-next-field))
   (put 'forms-insert-record 'menu-enable '(not forms-read-only))
   (put 'forms-delete-record 'menu-enable '(not forms-read-only))
+  (setq mouse-major-mode-menu map)
 )
 
 (defun forms--mode-commands1 (map)