summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2015-10-23 11:46:03 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-10-23 11:46:03 (GMT)
commit2f0582451af081f8181b796132950431baf061d6 (patch) (side-by-side diff)
tree54bc0dbeece0fd1d31d45c96bb7e1da0058237ea
parente217607915ae4d3a486a4b4e0fafeb34b8247d0f (diff)
downloadvcl-mode-2f0582451af081f8181b796132950431baf061d6.tar.gz
vcl-mode-2f0582451af081f8181b796132950431baf061d6.tar.bz2
Set comment-prefix, clear c-opt-cpp-prefix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--vcl-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl-mode.el b/vcl-mode.el
index c6ea5e1..97f66b1 100644
--- a/vcl-mode.el
+++ b/vcl-mode.el
@@ -68,4 +68,3 @@
(c-define-abbrev-table 'vcl-mode-abbrev-table
- '(("else" "else" c-electric-continued-statement 0)
- ("while" "while" c-electric-continued-statement 0)))
+ '(("else" "else" c-electric-continued-statement 0)))
@@ -310,3 +309,3 @@
-(put 'vcl-mode 'c-mode-prefix "vcl-")
+(put 'vcl-mode 'c-mode-prefix "vcl-")
@@ -362,5 +361,6 @@ Key bindings:
(set (make-local-variable 'parse-sexp-lookup-properties) t)
- (set (make-local-variable 'comment-start) "# ")
(c-initialize-cc-mode t)
+ (c-lang-setvar comment-start "# ")
+ (setq c-opt-cpp-prefix nil)
(set-syntax-table vcl-mode-syntax-table)

Return to:

Send suggestions and report system problems to the System administrator.