void variable "property" on XEmacs in c-put-char-properties

Richard Hopkins <[email protected]> Fri, 01 Sep 2023 11:20:26 +0100
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Hi Alan,

The following tweak to `c-put-char-properties' macro fixes a void
variable error for "property" on XEmacs and it's now used in the same
way as earlier in the XEmacs path, as well as the GNU path.

diff -r 1a76fcde9cab cc-defs.el
--- a/cc-defs.el        Thu Aug 03 11:21:46 2023 +0000
+++ b/cc-defs.el        Fri Sep 01 11:12:45 2023 +0100
@@ -1313,7 +1313,7 @@
                             (delete-extent ext))
                           nil -from- -to- nil nil ',property)
              (set-extent-properties (make-extent -from- -to-)
-                                   (cons property
+                                   (cons ',property
                                           (cons ,value
                                                 '(start-open t
                                                              end-open 
t)))))

Does this look right to you?

Best,
Richard