Commit 22bf0615 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(forms--mode-menu-edit,forms--mode-menu-ro):

Set `mouse-major-mode-menu'.
parent 2ef2d897
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment