diff options
| author | Dan Nicolaescu | 2011-06-15 07:07:48 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2011-06-15 07:07:48 -0700 |
| commit | c5cde04220c3961df41d290dfe3ddbcba821fa26 (patch) | |
| tree | 7b2e5e0373b3c374e9744c5ce1d51b4b1ba3b1d5 /lisp/progmodes/python.el | |
| parent | 571e1872c0d5ebfb90ed6dd752134009e38e3712 (diff) | |
| download | emacs-c5cde04220c3961df41d290dfe3ddbcba821fa26.tar.gz emacs-c5cde04220c3961df41d290dfe3ddbcba821fa26.zip | |
Derive some programming modes from prog-mode.
* lisp/progmodes/python.el (python-mode): Derive from prog-mode.
* lisp/progmodes/ps-mode.el (ps-mode):
* lisp/progmodes/mixal-mode.el (mixal-mode):
* lisp/progmodes/ld-script.el (ld-script-mode): Likewise.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index b99cad1d081..3d243f14f07 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2420,7 +2420,7 @@ without confirmation." | |||
| 2420 | (defvar python-mode-running) ;Dynamically scoped var. | 2420 | (defvar python-mode-running) ;Dynamically scoped var. |
| 2421 | 2421 | ||
| 2422 | ;;;###autoload | 2422 | ;;;###autoload |
| 2423 | (define-derived-mode python-mode fundamental-mode "Python" | 2423 | (define-derived-mode python-mode prog-mode "Python" |
| 2424 | "Major mode for editing Python files. | 2424 | "Major mode for editing Python files. |
| 2425 | Turns on Font Lock mode unconditionally since it is currently required | 2425 | Turns on Font Lock mode unconditionally since it is currently required |
| 2426 | for correct parsing of the source. | 2426 | for correct parsing of the source. |