]> git.eshelyaron.com Git - emacs.git/commit
Note current buffer and restore it in c-force-redisplay.
authorAlan Mackenzie <acm@muc.de>
Thu, 10 Feb 2022 17:03:50 +0000 (17:03 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 10 Feb 2022 17:03:50 +0000 (17:03 +0000)
commit65482864460677b74ec7a4609df14289393c1d22
tree39668690b757ef53c95e88ed64db2fc73f456400
parentd64a1f7251e271074a1ab43fa548ef245142640a
Note current buffer and restore it in c-force-redisplay.

This fixes bug #52709.

* lisp/progmodes/cc-fonts.el (c-force-redisplay): New parameter BUFFER.  Set
current buffer to this before fontifying.
(c-fontify-new-found-type): Give the current buffer as argument to
run-with-timer.
lisp/progmodes/cc-fonts.el