1 new commit in cc-mode:
https://bitbucket.org/xemacs/cc-mode/changeset/c08db355955b/
changeset: c08db355955b
user: acm
date: 2012-04-08 15:42:00
summary: Correct two search limits in c-before-change-check_<>-operators.
cc-engine.el (c-before-change-check-<>-operators): Make the correction.
cc-mode.texi (c-offsets-alist): Correct a typo.
affected #: 2 files
diff -r e56d1804baae761390362fb17dac8eaee611010f -r
c08db355955badb6c1bdec66c7a9b4aa51be8b15 cc-engine.el
--- a/cc-engine.el
+++ b/cc-engine.el
@@ -5414,7 +5414,7 @@
new-beg new-end need-new-beg need-new-end)
;; Locate the barrier before the changed region
(goto-char (if beg-lit-limits (car beg-lit-limits) beg))
- (c-syntactic-skip-backward "^;{}" (max (- beg 2048) (point-min)))
+ (c-syntactic-skip-backward "^;{}" (c-determine-limit 512))
(setq new-beg (point))
;; Remove the syntax-table/category properties from each pertinent <...>
@@ -5426,8 +5426,7 @@
;; Locate the barrier after END.
(goto-char (if end-lit-limits (cdr end-lit-limits) end))
- (c-syntactic-re-search-forward "[;{}]"
- (min (+ end 2048) (point-max)) 'end)
+ (c-syntactic-re-search-forward "[;{}]" (c-determine-+ve-limit 512)
'end)
(setq new-end (point))
;; Remove syntax-table properties from the remaining pertinent <...>
diff -r e56d1804baae761390362fb17dac8eaee611010f -r
c08db355955badb6c1bdec66c7a9b4aa51be8b15 cc-mode.texi
--- a/cc-mode.texi
+++ b/cc-mode.texi
@@ -5185,7 +5185,7 @@
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This section explains the structure and semantics of the style
-variable @code{c-offset-alist}, the principal variable for configuring
+variable @code{c-offsets-alist}, the principal variable for configuring
indentation. Details of how to set it up, and its relationship to
@ccmode{}'s style system are given in @ref{Style Variables}.
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