emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 9fa9bc6: No need to mention K&R C in c-mode intro


From: Paul Eggert
Subject: [Emacs-diffs] master 9fa9bc6: No need to mention K&R C in c-mode intro
Date: Thu, 24 Sep 2015 16:14:04 +0000

branch: master
commit 9fa9bc6a327e55d5a9cfc7e4b03f9dc0c8932669
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    No need to mention K&R C in c-mode intro
---
 doc/misc/cc-mode.texi     |    2 +-
 lisp/progmodes/cc-mode.el |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index c90a7db..b93bc8f 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -378,7 +378,7 @@ This manual describes @ccmode{}
 version 5.32.
 @comment Release.py script can update the version number automatically
 
address@hidden supports the editing of K&R and ANSI C, C++, Objective-C,
address@hidden supports the editing of C, C++, Objective-C,
 Java, CORBA's Interface Definition Language, address@hidden C-like
 scripting language with its roots in the LPC language used in some MUD
 engines.  See @uref{http://pike.ida.liu.se/}.} and AWK files.  In this
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 97491e4..5c68de4 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1265,7 +1265,7 @@ Note that the style variables are always made local to 
the buffer."
   ;;
   ;;
   ;;     void myfunc(T* p) {}
-  ;; 
+  ;;
   ;; Type a space in the first blank line, and the fontification of the next
   ;; line was fouled up by context fontification.
   (let (new-beg new-end new-region case-fold-search
@@ -1455,7 +1455,8 @@ This function is called from `c-common-init', once per 
mode initialization."
 
 ;;;###autoload
 (define-derived-mode c-mode prog-mode "C"
-  "Major mode for editing K&R and ANSI C code.
+  "Major mode for editing C code.
+
 To submit a problem report, enter `\\[c-submit-bug-report]' from a
 c-mode buffer.  This automatically sets up a mail buffer with version
 information already added.  You just need to add a description of the



reply via email to

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