diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/font-lock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index bdf31881cc4..c17949c0c97 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1456,7 +1456,7 @@ If REGEXP is non-nil, it means these keywords are used for (concat "^\\(?:" defun-prompt-regexp "\\)?\\s(") "^\\s(") (0 - (if (memq (get-text-property (1- (point)) 'face) + (if (memq (get-text-property (match-beginning 0) 'face) '(font-lock-string-face font-lock-doc-face font-lock-comment-face)) font-lock-warning-face) |