[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-
From: |
yoshinori . kawahara |
Subject: |
Re: cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed? |
Date: |
Tue, 22 Apr 2008 16:51:40 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Apr 5, 2:47 am, Joachim Nilsson <joachim.nils...@vmlinux.org>
wrote:
> Hi!
>
> The bug still exists on CVS HEAD. I'm making another plead,
> this time including a patch to fix the problem (described in
> detail below). Please note that this fix only affects the
> Ellemtel style of cc-mode, so it is quite safe to apply.
I use the ellemtel style too, I added the following to my .emacs file
to restore emacs 21 behaviour.
(defun my-c-mode-common-hook ()
;; fix up alignment, got broken in emacs22
(c-set-offset 'arglist-cont-nonempty '(c-lineup-gcc-asm-reg c-lineup-
arglist)))
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed?,
yoshinori . kawahara <=