diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 69df0535054..76901aaa69e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -278,7 +278,8 @@ | |||
| 278 | (when (re-search-forward re limit t) | 278 | (when (re-search-forward re limit t) |
| 279 | (while (and (not (equal (nth 0 (syntax-ppss)) 0)) | 279 | (while (and (not (equal (nth 0 (syntax-ppss)) 0)) |
| 280 | (re-search-forward re limit t))) | 280 | (re-search-forward re limit t))) |
| 281 | (if (equal (nth 0 (syntax-ppss)) 0) | 281 | (if (and (equal (nth 0 (syntax-ppss)) 0) |
| 282 | (not (equal (char-after (point-marker)) ?=))) | ||
| 282 | t | 283 | t |
| 283 | (set-match-data nil))))) | 284 | (set-match-data nil))))) |
| 284 | (1 font-lock-variable-name-face nil nil)) | 285 | (1 font-lock-variable-name-face nil nil)) |