Variable name change
python-shell-enable-syntax-highlighting -> python-shell-enable-font-lock
This commit is contained in:
parent
cd05d2a6b0
commit
a7a6d8ff0e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue