Commit 498d7fe9 authored by Alan Mackenzie's avatar Alan Mackenzie

Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.

(c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
`cadr/car'.
parent 48f3aa93
...@@ -3306,7 +3306,7 @@ accomplish that conveniently." ...@@ -3306,7 +3306,7 @@ accomplish that conveniently."
(cdr c-lang-variable-inits)))) (cdr c-lang-variable-inits))))
(while init (while init
(setq current-var (caar init)) (setq current-var (caar init))
(set (caar init) (eval (cadar init))) (set (caar init) (eval (cadr (car init))))
(setq init (cdr init))))) (setq init (cdr init)))))
(error (error
...@@ -3335,7 +3335,7 @@ accomplish that conveniently." ...@@ -3335,7 +3335,7 @@ accomplish that conveniently."
(while init (while init
(setq current-var (caar init)) (setq current-var (caar init))
(set (caar init) (eval (cadar init))) (set (caar init) (eval (cadr (car init))))
(setq init (cdr init))) (setq init (cdr init)))
(error (error
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment