mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
(py-menu): Create default value
This commit is contained in:
parent
c5a8cbd35d
commit
5490a06fc7
1 changed files with 7 additions and 0 deletions
|
@ -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
|
;; Menu definitions, only relevent if you have the easymenu.el package
|
||||||
;; (standard in the latest Emacs 19 and XEmacs 19 distributions).
|
;; (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
|
(if (condition-case nil
|
||||||
(require 'easymenu)
|
(require 'easymenu)
|
||||||
(error nil))
|
(error nil))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue