summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--vcl-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl-mode.el b/vcl-mode.el
index c6ea5e1..97f66b1 100644
--- a/vcl-mode.el
+++ b/vcl-mode.el
@@ -66,8 +66,7 @@
(defvar vcl-mode-abbrev-table nil
"Abbreviation table used in vcl-mode buffers.")
(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)))
;; Font locking
(defconst vcl-font-lock-keywords-1
@@ -360,9 +359,10 @@ Key bindings:
(set (make-local-variable 'syntax-propertize-function)
vcl-syntax-propertize-function)
(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)
(setq local-abbrev-table vcl-mode-abbrev-table
abbrev-mode t)

Return to:

Send suggestions and report system problems to the System administrator.