1 new commit in cc-mode:
https://bitbucket.org/xemacs/cc-mode/commits/354bd811b130/
Changeset: 354bd811b130
User: acm
Date: 2013-05-27 14:16:57
Summary: Remove spurious syntax-table text properties inserted by C-y.
cc-mode.el (c-after-change): Also clear hard syntax-table property
with value nil.
Affected #: 1 file
diff -r 34b16d59ee7db5a67e43692a1d0f39e6adf100bf -r
354bd811b130b31f4658b52584b3a2b69df9a20d cc-mode.el
--- a/cc-mode.el
+++ b/cc-mode.el
@@ -1100,13 +1100,14 @@
(setq beg end)))
;; C-y is capable of spuriously converting category properties
- ;; c-</>-as-paren-syntax into hard syntax-table properties. Remove
- ;; these when it happens.
+ ;; c-</>-as-paren-syntax and c-cpp-delimiter into hard syntax-table
+ ;; properties. Remove these when it happens.
(when (memq 'category-properties c-emacs-features)
(c-clear-char-property-with-value beg end 'syntax-table
c-<-as-paren-syntax)
(c-clear-char-property-with-value beg end 'syntax-table
- c->-as-paren-syntax))
+ c->-as-paren-syntax)
+ (c-clear-char-property-with-value beg end 'syntax-table nil))
(c-trim-found-types beg end old-len) ; maybe we don't need all of these.
(c-invalidate-sws-region-after beg end)
Repository URL:
https://bitbucket.org/xemacs/cc-mode/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches