Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c38bf6

Browse files
committed
(python-mode): Patch to make font-lock work automatically for Emacs.
Unnecessary for XEmacs, but oh well...
1 parent 673d05f commit 5c38bf6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Misc/python-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ py-beep-if-tab-change\t\tring the bell if tab-width is changed"
851851
(setq major-mode 'python-mode
852852
mode-name "Python"
853853
local-abbrev-table python-mode-abbrev-table
854+
font-lock-defaults '(python-font-lock-keywords)
854855
paragraph-separate "^[ \t]*$"
855856
paragraph-start "^[ \t]*$"
856857
require-final-newline t

0 commit comments

Comments
 (0)