summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/python-mode.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index feaf7af..c0da413 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -393,6 +393,13 @@ Currently-active file is at the head of the list.")
;; Menu definitions, only relevent if you have the easymenu.el package
;; (standard in the latest Emacs 19 and XEmacs 19 distributions).
+(defvar py-menu nil
+ "Menu for Python Mode.
+
+This menu will get created automatically if you have the easymenu
+package. Note that the latest XEmacs 19 and Emacs 19 versions contain
+this package.")
+
(if (condition-case nil
(require 'easymenu)
(error nil))