]> git.eshelyaron.com Git - emacs.git/commitdiff
Variable name change
authorDan Davison <dandavison7@gmail.com>
Thu, 17 May 2012 03:03:42 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:42 +0000 (00:03 -0300)
python-shell-enable-syntax-highlighting -> python-shell-enable-font-lock

lisp/progmodes/python.el

index 4e9c045d1841e4a9bc8de8db5fb946b7951c0623..3c1e85834def043617dba0bfbbeef070c3c65140 100644 (file)
@@ -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 "<tab>")
     '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