]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Get proper search limits in c-font-lock-cut-off-declarators
authorAlan Mackenzie <acm@muc.de>
Sun, 25 Apr 2021 17:40:16 +0000 (17:40 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 25 Apr 2021 17:40:16 +0000 (17:40 +0000)
commit142babb9bd8585136d4d56fb8b6dc2761d891c79
treea076de9e6619a31bbfae187e47ea6fe4004ccbb6
parent6dabbddb5fc2a605bd23b3460d791b8e63bcf8f7
CC Mode: Get proper search limits in c-font-lock-cut-off-declarators

* lisp/progmodes/cc-fonts.el (c-font-lock-cut-off-declarators): Instead of
using a crude 2,000 characters back limit for backward searching, which is
erroneous when that point is in a literal, use the already calculated
c-determine-limit result.
lisp/progmodes/cc-fonts.el