]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/cc-langs.el
* lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
[gnu-emacs] / lisp / progmodes / cc-langs.el
index ba9c42e4c89f605eb2b8dd1081f6e127a0ddcd43..af52ad53aad23de410faa8928532dbea4b3eff1c 100644 (file)
@@ -812,8 +812,8 @@ Assumed to not contain any submatches or \\| operators."
 (c-lang-defconst c-anchored-cpp-prefix
   "Regexp matching the prefix of a cpp directive anchored to BOL,
 in the languages that have a macro preprocessor."
-  t (if (c-lang-const c-opt-cpp-prefix)
-       (concat "^" (c-lang-const c-opt-cpp-prefix))))
+  t "^\\s *\\(#\\)\\s *"
+  (java awk) nil)
 (c-lang-defvar c-anchored-cpp-prefix (c-lang-const c-anchored-cpp-prefix))
 
 (c-lang-defconst c-opt-cpp-start