emacs-devel
[Top][All Lists]
Advanced

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

Re: Should there be a k&r2 c-style?


From: Alex
Subject: Re: Should there be a k&r2 c-style?
Date: Wed, 21 Sep 2016 17:11:03 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

John Wiegley <address@hidden> writes:

>>>>>> "A" == Alex  <address@hidden> writes:
>
> A> Is something like this okay?
>
> Yes, that looks good to me.  You may want to mention "stroustrup" in quotes
> when naming the style, so that people know exactly what to look for.

That makes sense. I surrounded it in a @code block to match some other
mentions of styles.

If it's acceptable, would you commit it for me?

diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index f311ec8..6916169 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -2554,7 +2554,9 @@ for C code in GNU programs.
 
 @item k&r
 @cindex K&R style
-The classic Kernighan and Ritchie style for C code.
+The classic Kernighan and Ritchie style for C code. If you're looking
+for the style used in the 2nd edition of their book ``The C
+Programming Language'', then check out the @code{stroustrup} style.
 
 @item bsd
 @cindex BSD style
TIA

reply via email to

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