summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorTheodor Thornhill <theo@thornhill.no>2022-12-17 20:07:59 +0100
committerYuan Fu <casouri@gmail.com>2022-12-17 16:30:46 -0800
commit5b2e6d04ce271cca2de944f8f5c07c005da33e37 (patch)
treefaff636d065879783fbe7ee6a77e2c6b7906ebb6 /lisp/emacs-lisp/timer.el
parentcb8ccdd26702606710258e2e08bd1fc35bbc1674 (diff)
downloademacs-5b2e6d04ce271cca2de944f8f5c07c005da33e37.tar.gz
emacs-5b2e6d04ce271cca2de944f8f5c07c005da33e37.tar.bz2
emacs-5b2e6d04ce271cca2de944f8f5c07c005da33e37.zip
Fix wrong capture in typescript-ts-mode (bug#60167)
An example of the issue could be: <Menu.Item> {({ active }) => ( link ? <Link to={link}> {text}</Link> : <a href="#" onClick={onClick}>{text}</a> )} </Menu.Item> Here 'link' as well as a lot of the other constructs inside of the parenthesized expression will be font-locked with 'font-lock-variable-name-face'. We only want to capture the identifier. * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--font-lock-settings): Make the variable capture only capture the identifier, and not the whole expression.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions