summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-08-06 15:43:33 (GMT)
committerBarry Warsaw <barry@python.org>1996-08-06 15:43:33 (GMT)
commit5490a06fc7b31cfdaa3064024593825d24f875d8 (patch)
treebcabb59548b270e10d480922f29e5eeb902ea3aa /Misc
parentc5a8cbd35d24f44808dd5bf3525befaa729cbd61 (diff)
downloadcpython-5490a06fc7b31cfdaa3064024593825d24f875d8.zip
cpython-5490a06fc7b31cfdaa3064024593825d24f875d8.tar.gz
cpython-5490a06fc7b31cfdaa3064024593825d24f875d8.tar.bz2
(py-menu): Create default value
Diffstat (limited to 'Misc')
-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))