From 22bf061573539dff9e17dac63afc0c3c4e620099 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 17 Jun 1995 13:00:22 +0000 Subject: [PATCH] (forms--mode-menu-edit,forms--mode-menu-ro): Set `mouse-major-mode-menu'. --- lisp/forms.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/forms.el b/lisp/forms.el index 4983a29e649..68a7569d0fb 100644 --- a/lisp/forms.el +++ b/lisp/forms.el @@ -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 @@ Commands: Equivalent keys in read-only mode: '("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 @@ Commands: Equivalent keys in read-only mode: '("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) -- 2.39.2