bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72126: closed (Bug#72126 fixed: v29.2 Java FontLock mode weirdness ?


From: Jason Vas Dias
Subject: bug#72126: closed (Bug#72126 fixed: v29.2 Java FontLock mode weirdness ?)
Date: Sat, 27 Jul 2024 01:52:38 +0100


Yes, thank you Alan, that fixed it ! :

# diff -U1 cc-engine.el~ cc-engine.el
--- cc-engine.el~       2024-06-21 14:09:32.000000000 +0100
+++ cc-engine.el        2024-07-27 01:38:10.486395403 +0100
@@ -8525,3 +8525,4 @@
 
-  (let ((start (point))
+ (let ((start (point))
+               (old-record-type-identifiers c-record-type-identifiers)
        (old-found-types (copy-hash-table c-found-types))
@@ -8562,3 +8563,4 @@
 
-       (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)

[root@jvdspc:/usr/share/emacs/29.4/lisp/progmodes [4474] 01:45:06 
#:79!:35920]{1}
# emacs --batch -l comp -f batch-byte+native-compile cc-engine.el 
... OK

I then loaded /tmp/a.java:

class a {

    public void f() {
        int a = ( b < c ) 
    }
}

and c is no longer green !

Thank you, Best Regards

Jason





reply via email to

[Prev in Thread] Current Thread [Next in Thread]