all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.