no args if that value is non-nil."
(interactive)
(kill-all-local-variables)
+ ;; This code depends on the old C mode.
+ (require 'c-mode)
(use-local-map c++-mode-map)
(set-syntax-table c++-mode-syntax-table)
(setq major-mode 'c++-mode
(if (= (char-after (car contain-stack)) ?{)
(save-excursion
(goto-char (car contain-stack))
- (setq val (+ c-indent-level (current-column))))
+ (setq val (calculate-c-indent-after-brace)))
(setq val (calculate-c++-indent
(if (car indent-stack)
(- (car indent-stack))))))