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

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

Re: cc-mode adds newlines


From: Kevin Rodgers
Subject: Re: cc-mode adds newlines
Date: Thu, 18 Nov 2004 16:23:33 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

address@hidden wrote:
> OK. There is a variable require-final-newline.
> But setting it did not make any difference.
> The setting was overridden by cc-mode.el.

So override cc-mode.el:

(add-hook 'c-mode-common-hook
          (lambda () (setq require-final-newline nil)))

--
Kevin Rodgers




reply via email to

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