diff -r aba0055b21e4 cc-engine.el --- a/cc-engine.el Mon Jul 01 20:21:18 2024 +0000 +++ b/cc-engine.el Sun Jul 14 20:21:48 2024 +0000 @@ -8794,6 +8794,7 @@ ;; This function might do hidden buffer changes. (let ((start (point)) + (old-record-type-identifiers c-record-type-identifiers) (old-found-types (copy-hash-table c-found-types)) ;; If `c-record-type-identifiers' is set then activate ;; recording of any found types that constitute an argument in @@ -8830,7 +8831,8 @@ (nconc c-record-found-types c-record-type-identifiers))) t) - (setq c-found-types old-found-types) + (setq c-record-type-identifiers old-record-type-identifiers + c-found-types old-found-types) (goto-char start) nil))))