help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c-default-style


From: Mick Bert
Subject: c-default-style
Date: Mon, 24 Sep 2018 14:37:04 +0200

With an old verion of emacs, I used to set default indenting behavior by
inserting in my ~/.emacs file:

(setq c-default-style '((c-mode . "stroustrup")))
(setq c-default-style '((c++-mode . "stroustrup")))
(setq c-default-style '((objc-mode . "stroustrup")))

The new version inherited the configuration file, but I have to set each
time I visited a file the indenting behavior with command "c-set-style".
What's changed in the last two major versions? How should I do it now?
--
Mick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]