diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 3 insertions, 3 deletions
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." | |||
| 1235 | :group 'python | 1235 | :group 'python |
| 1236 | :safe 'stringp) | 1236 | :safe 'stringp) |
| 1237 | 1237 | ||
| 1238 | (defcustom python-shell-enable-syntax-highlighting t | 1238 | (defcustom python-shell-enable-font-lock t |
| 1239 | "Should syntax highlighting be enabled in the python shell buffer? | 1239 | "Should syntax highlighting be enabled in the python shell buffer? |
| 1240 | Restart the python shell after changing this variable for it to take effect." | 1240 | Restart the python shell after changing this variable for it to take effect." |
| 1241 | :type 'boolean | 1241 | :type 'boolean |
| @@ -1401,7 +1401,7 @@ controls which Python interpreter is run. Variables | |||
| 1401 | `python-shell-prompt-regexp', | 1401 | `python-shell-prompt-regexp', |
| 1402 | `python-shell-prompt-output-regexp', | 1402 | `python-shell-prompt-output-regexp', |
| 1403 | `python-shell-prompt-block-regexp', | 1403 | `python-shell-prompt-block-regexp', |
| 1404 | `python-shell-enable-syntax-highlighting', | 1404 | `python-shell-enable-font-lock', |
| 1405 | `python-shell-completion-setup-code', | 1405 | `python-shell-completion-setup-code', |
| 1406 | `python-shell-completion-string-code', | 1406 | `python-shell-completion-string-code', |
| 1407 | `python-shell-completion-module-string-code', | 1407 | `python-shell-completion-module-string-code', |
| @@ -1435,7 +1435,7 @@ variable. | |||
| 1435 | 'python-shell-completion-complete-at-point) | 1435 | 'python-shell-completion-complete-at-point) |
| 1436 | (define-key inferior-python-mode-map (kbd "<tab>") | 1436 | (define-key inferior-python-mode-map (kbd "<tab>") |
| 1437 | 'python-shell-completion-complete-or-indent) | 1437 | 'python-shell-completion-complete-or-indent) |
| 1438 | (when python-shell-enable-syntax-highlighting | 1438 | (when python-shell-enable-font-lock |
| 1439 | (set | 1439 | (set |
| 1440 | (make-local-variable 'font-lock-defaults) | 1440 | (make-local-variable 'font-lock-defaults) |
| 1441 | '(python-font-lock-keywords | 1441 | '(python-font-lock-keywords |