aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-09-24 09:13:36 -0700
committerPaul Eggert2015-09-24 09:13:59 -0700
commit9fa9bc6a327e55d5a9cfc7e4b03f9dc0c8932669 (patch)
tree9d67589fb507fd7f8e844eed922bf49fb40a6c37
parent8f88db14946f46a95603dfaa2a425d64b01fbb53 (diff)
downloademacs-9fa9bc6a327e55d5a9cfc7e4b03f9dc0c8932669.tar.gz
emacs-9fa9bc6a327e55d5a9cfc7e4b03f9dc0c8932669.zip
No need to mention K&R C in c-mode intro
-rw-r--r--doc/misc/cc-mode.texi2
-rw-r--r--lisp/progmodes/cc-mode.el5
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index c90a7db5cec..b93bc8f679f 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -378,7 +378,7 @@ This manual describes @ccmode{}
378version 5.32. 378version 5.32.
379@comment Release.py script can update the version number automatically 379@comment Release.py script can update the version number automatically
380 380
381@ccmode{} supports the editing of K&R and ANSI C, C++, Objective-C, 381@ccmode{} supports the editing of C, C++, Objective-C,
382Java, CORBA's Interface Definition Language, Pike@footnote{A C-like 382Java, CORBA's Interface Definition Language, Pike@footnote{A C-like
383scripting language with its roots in the LPC language used in some MUD 383scripting language with its roots in the LPC language used in some MUD
384engines. See @uref{http://pike.ida.liu.se/}.} and AWK files. In this 384engines. 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 97491e4d1d7..5c68de4b057 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."
1265 ;; 1265 ;;
1266 ;; 1266 ;;
1267 ;; void myfunc(T* p) {} 1267 ;; void myfunc(T* p) {}
1268 ;; 1268 ;;
1269 ;; Type a space in the first blank line, and the fontification of the next 1269 ;; Type a space in the first blank line, and the fontification of the next
1270 ;; line was fouled up by context fontification. 1270 ;; line was fouled up by context fontification.
1271 (let (new-beg new-end new-region case-fold-search 1271 (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."
1455 1455
1456;;;###autoload 1456;;;###autoload
1457(define-derived-mode c-mode prog-mode "C" 1457(define-derived-mode c-mode prog-mode "C"
1458 "Major mode for editing K&R and ANSI C code. 1458 "Major mode for editing C code.
1459
1459To submit a problem report, enter `\\[c-submit-bug-report]' from a 1460To submit a problem report, enter `\\[c-submit-bug-report]' from a
1460c-mode buffer. This automatically sets up a mail buffer with version 1461c-mode buffer. This automatically sets up a mail buffer with version
1461information already added. You just need to add a description of the 1462information already added. You just need to add a description of the