1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

* progmodes/python.el (run-python-internal): Disable font lock for

internal shells.
This commit is contained in:
Fabián Ezequiel Gallina 2012-07-31 00:31:10 -03:00
parent 4650d5fa0e
commit d77149619b
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
* progmodes/python.el (run-python-internal): Disable font lock for
internal shells.
2012-07-30 Stefan Merten <smerten@oekonux.de>
* rst.el: Silence `checkdoc-ispell'.

View File

@ -1615,11 +1615,12 @@ with user shells. Runs the hook
`inferior-python-mode-hook' (after the `comint-mode-hook' is
run). \(Type \\[describe-mode] in the process buffer for a list
of commands.)"
(set-process-query-on-exit-flag
(get-buffer-process
(python-shell-make-comint
(python-shell-parse-command)
(python-shell-internal-get-process-name))) nil))
(let ((python-shell-enable-font-lock nil))
(set-process-query-on-exit-flag
(get-buffer-process
(python-shell-make-comint
(python-shell-parse-command)
(python-shell-internal-get-process-name))) nil)))
(defun python-shell-get-process ()
"Get inferior Python process for current buffer and return it."