commit/cc-mode: acm: Guard (looking-at "\\s!") from XEmacs.

[email protected]
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
1 new commit in cc-mode:

https://bitbucket.org/xemacs/cc-mode/commits/f130d486169f/
Changeset:   f130d486169f
User:        acm
Date:        2014-05-30 12:19:03
Summary:     Guard (looking-at "\\s!") from XEmacs.
cc-engine.el (c-state-pp-to-literal): add guard form.
Affected #:  1 file

diff -r 2a2edf1822494382d588501864e2efc76290e3e5 -r f130d486169f0accdfdb7349c0a9417bae6d4b47 cc-engine.el
--- a/cc-engine.el
+++ b/cc-engine.el
@@ -2221,7 +2221,8 @@
        ((and (not not-in-delimiter)	; inside a comment starter
 	     (not (bobp))
 	     (progn (backward-char)
-		    (and (not (looking-at "\\s!"))
+		    (and (not (and (memq 'category-properties c-emacs-features)
+				   (looking-at "\\s!")))
 			 (looking-at c-comment-start-regexp))))
 	(setq ty (if (looking-at c-block-comment-start-regexp) 'c 'c++)
 	      co-st (point))

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.