From: Dan Davison Date: Thu, 17 May 2012 03:03:42 +0000 (-0300) Subject: Variable name change X-Git-Tag: emacs-24.2.90~1199^2~488 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a7a6d8ff0ecb3059225ed1eb4d61e941d2afeb4c;p=emacs.git Variable name change python-shell-enable-syntax-highlighting -> python-shell-enable-font-lock --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 4e9c045d184..3c1e85834de 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1235,7 +1235,7 @@ It should not contain a caret (^) at the beginning." :group 'python :safe 'stringp) -(defcustom python-shell-enable-syntax-highlighting t +(defcustom python-shell-enable-font-lock t "Should syntax highlighting be enabled in the python shell buffer? Restart the python shell after changing this variable for it to take effect." :type 'boolean @@ -1401,7 +1401,7 @@ controls which Python interpreter is run. Variables `python-shell-prompt-regexp', `python-shell-prompt-output-regexp', `python-shell-prompt-block-regexp', -`python-shell-enable-syntax-highlighting', +`python-shell-enable-font-lock', `python-shell-completion-setup-code', `python-shell-completion-string-code', `python-shell-completion-module-string-code', @@ -1435,7 +1435,7 @@ variable. 'python-shell-completion-complete-at-point) (define-key inferior-python-mode-map (kbd "") 'python-shell-completion-complete-or-indent) - (when python-shell-enable-syntax-highlighting + (when python-shell-enable-font-lock (set (make-local-variable 'font-lock-defaults) '(python-font-lock-keywords