summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-langs.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
-rw-r--r--lisp/progmodes/cc-langs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index a1e26b9fcc4..e9c49644676 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -3306,7 +3306,7 @@ accomplish that conveniently."
(cdr c-lang-variable-inits))))
(while init
(setq current-var (caar init))
- (set (caar init) (eval (cadar init)))
+ (set (caar init) (eval (cadr (car init))))
(setq init (cdr init)))))
(error
@@ -3335,7 +3335,7 @@ accomplish that conveniently."
(while init
(setq current-var (caar init))
- (set (caar init) (eval (cadar init)))
+ (set (caar init) (eval (cadr (car init))))
(setq init (cdr init)))
(error