all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to over-ride c-set-style ... indentation
@ 2002-11-15 17:17 Kai Peter Ford
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Peter Ford @ 2002-11-15 17:17 UTC (permalink / raw)


I need to over-ride the default 3-space indentation in the "ellemtel" style 
with 4 spaces.  I currently have the following in my .emacs:

...
(add-hook 'java-mode-hook
           '(lambda ()
              (c-set-style "ellemtel")))
. . .
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
  '(c-basic-offset 4)
  '(c-indent-level 4)
. . .

but this has no effect.  Is there any way to do this?

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <mailman.1037381050.320.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2002-11-16 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 17:17 How to over-ride c-set-style ... indentation Kai Peter Ford
     [not found] <mailman.1037381050.320.help-gnu-emacs@gnu.org>
2002-11-16 18:50 ` Kai Großjohann

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.