diff options
| author | Fabián Ezequiel Gallina | 2012-07-31 00:31:10 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2012-07-31 00:31:10 -0300 |
| commit | d77149619bc8407dff2532e9810348ef686d1e28 (patch) | |
| tree | 53d0a6f198e0b301c6f5d7f85a95fc7ba60f0b5b | |
| parent | 4650d5fa0e1eeb1bcd504fdf5025db3ed146f710 (diff) | |
| download | emacs-d77149619bc8407dff2532e9810348ef686d1e28.tar.gz emacs-d77149619bc8407dff2532e9810348ef686d1e28.zip | |
* progmodes/python.el (run-python-internal): Disable font lock for
internal shells.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8401578abf4..20b31e1f9f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca> | ||
| 2 | |||
| 3 | * progmodes/python.el (run-python-internal): Disable font lock for | ||
| 4 | internal shells. | ||
| 5 | |||
| 1 | 2012-07-30 Stefan Merten <smerten@oekonux.de> | 6 | 2012-07-30 Stefan Merten <smerten@oekonux.de> |
| 2 | 7 | ||
| 3 | * rst.el: Silence `checkdoc-ispell'. | 8 | * rst.el: Silence `checkdoc-ispell'. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 4617ecc420d..001c28a00fa 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1615,11 +1615,12 @@ with user shells. Runs the hook | |||
| 1615 | `inferior-python-mode-hook' (after the `comint-mode-hook' is | 1615 | `inferior-python-mode-hook' (after the `comint-mode-hook' is |
| 1616 | run). \(Type \\[describe-mode] in the process buffer for a list | 1616 | run). \(Type \\[describe-mode] in the process buffer for a list |
| 1617 | of commands.)" | 1617 | of commands.)" |
| 1618 | (set-process-query-on-exit-flag | 1618 | (let ((python-shell-enable-font-lock nil)) |
| 1619 | (get-buffer-process | 1619 | (set-process-query-on-exit-flag |
| 1620 | (python-shell-make-comint | 1620 | (get-buffer-process |
| 1621 | (python-shell-parse-command) | 1621 | (python-shell-make-comint |
| 1622 | (python-shell-internal-get-process-name))) nil)) | 1622 | (python-shell-parse-command) |
| 1623 | (python-shell-internal-get-process-name))) nil))) | ||
| 1623 | 1624 | ||
| 1624 | (defun python-shell-get-process () | 1625 | (defun python-shell-get-process () |
| 1625 | "Get inferior Python process for current buffer and return it." | 1626 | "Get inferior Python process for current buffer and return it." |