emacs-devel
[Top][All Lists]
Advanced

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

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


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109310: * progmodes/python.el (run-python-internal): Disable font lock for
Date: Wed, 01 Aug 2012 19:34:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> -  (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)))
 
The change doesn't look problematic, but I wonder why/when is it needed?
After all, with the default settings, font-lock is mostly a no-op for
buffers which aren't displayed.


        Stefan



reply via email to

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