unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* c-default-style
@ 2018-09-24 12:37 Mick Bert
  2018-09-24 13:40 ` c-default-style Eli Zaretskii
  2018-09-24 13:47 ` c-default-style Noam Postavsky
  0 siblings, 2 replies; 4+ messages in thread
From: Mick Bert @ 2018-09-24 12:37 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-24 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 12:37 c-default-style Mick Bert
2018-09-24 13:40 ` c-default-style Eli Zaretskii
2018-09-24 13:47 ` c-default-style Noam Postavsky
2018-09-24 14:13   ` c-default-style Mick Bert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).