emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109310: * progmodes/python.el (run-p


From: Fabián Ezequiel Gallina
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109310: * progmodes/python.el (run-python-internal): Disable font lock for
Date: Tue, 31 Jul 2012 00:31:10 -0300
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109310
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: trunk
timestamp: Tue 2012-07-31 00:31:10 -0300
message:
  * progmodes/python.el (run-python-internal): Disable font lock for
  internal shells.
modified:
  lisp/ChangeLog
  lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-07-30 19:54:07 +0000
+++ b/lisp/ChangeLog    2012-07-31 03:31:10 +0000
@@ -1,3 +1,8 @@
+2012-07-31  Fabián Ezequiel Gallina  <address@hidden>
+
+       * progmodes/python.el (run-python-internal): Disable font lock for
+       internal shells.
+
 2012-07-30  Stefan Merten  <address@hidden>
 
        * rst.el: Silence `checkdoc-ispell'.

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2012-07-27 16:42:19 +0000
+++ b/lisp/progmodes/python.el  2012-07-31 03:31:10 +0000
@@ -1615,11 +1615,12 @@
 `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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]