From xemacs-m  Tue Dec 10 14:00:04 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id OAA25466 for <xemacs-beta@xemacs.org>; Tue, 10 Dec 1996 14:00:02 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id MAA20477; Tue, 10 Dec 1996 12:09:55 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: 19.15-b3: I spoke too soon....
References: <199612101941.LAA23379@roy>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Damon Lipparelli's message of Tue, 10 Dec 1996 11:41:20 -0800
Mime-Version: 1.0 (generated by tm-edit 7.95)
Content-Type: text/plain; charset=US-ASCII
Date: 10 Dec 1996 12:09:55 -0800
Message-ID: <m2g21eqhyk.fsf@altair.xemacs.org>
Lines: 85
X-Mailer: Red Gnus v0.72/XEmacs 20.0

>>>>> "Damon" == Damon Lipparelli <lipp@primus.com> writes:

Damon> File mode specification error: (void-function c-mode)

Damon> It looks like "cc-mode.elc" isn't auto-load'ing properly
Damon> anymore.  This is all fine under 20.0-b30.

O.K.  That's my fault.  As per Emacs 19.34, 19.15-beta3 doesn't dump
cc-mode in the xemacs binary, and I copied the wrong cc-mode.el when I
updated cc-mode. :-(

To fix, apply the attached patch to cc-mode.el and rebuild loaddefs.el
and redump xemacs.

The distributed beta3 also has scroll-in-place dumped, but that will
be removed in beta4.

I put both of those changes in a long time ago and forgot to correct
them.  Sorry about that.


--- cc-mode.el~	Tue Dec 10 12:07:08 1996
+++ cc-mode.el	Fri Oct  4 16:13:27 1996
@@ -1157,10 +1157,10 @@
 ;; cmacexp is lame because it uses no preprocessor symbols.
 ;; It isn't very extensible either -- hardcodes /lib/cpp.
 ;; [I add it here only because c-mode has it -- BAW]
-;(autoload 'c-macro-expand "cmacexp"
-;  "Display the result of expanding all C macros occurring in the region.
-;The expansion is entirely correct because it uses the C preprocessor."
-;  t)
+(autoload 'c-macro-expand "cmacexp"
+  "Display the result of expanding all C macros occurring in the region.
+The expansion is entirely correct because it uses the C preprocessor."
+  t)
 
 
 ;; constant regular expressions for looking at various constructs
@@ -1261,6 +1261,7 @@
 ;; main entry points for the modes
 (defconst c-list-of-mode-names nil)
 
+;;;###autoload
 (defun c-mode ()
   "Major mode for editing K&R and ANSI C code.
 To submit a problem report, enter `\\[c-submit-bug-report]' from a
@@ -1296,6 +1297,7 @@
   (run-hooks 'c-mode-hook))
 (setq c-list-of-mode-names (cons "C" c-list-of-mode-names))
 
+;;;###autoload
 (defun c++-mode ()
   "Major mode for editing C++ code.
 To submit a problem report, enter `\\[c-submit-bug-report]' from a
@@ -1334,6 +1336,7 @@
   (run-hooks 'c++-mode-hook))
 (setq c-list-of-mode-names (cons "C++" c-list-of-mode-names))
 
+;;;###autoload
 (defun objc-mode ()
   "Major mode for editing Objective C code.
 To submit a problem report, enter `\\[c-submit-bug-report]' from an
@@ -1372,6 +1375,7 @@
   (run-hooks 'objc-mode-hook))
 (setq c-list-of-mode-names (cons "ObjC" c-list-of-mode-names))
 
+;;;###autoload
 (defun java-mode ()
   "Major mode for editing Java code.
 To submit a problem report, enter `\\[c-submit-bug-report]' from an
@@ -2332,6 +2336,7 @@
 	)))
    stylevars))
 
+;;;###autoload
 (defun c-set-style (stylename)
   "Set cc-mode variables to use one of several different indentation styles.
 STYLENAME is a string representing the desired style from the list of


-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"Bill Clinton is a bore.  He doesn't have a creative bone in his
body."  -- David Brinkley

