From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Subject: Patch for c++-mode.el version 2.261
Reply-To: c++-mode-help@anthem.nlm.nih.gov (Barry A. Warsaw)
Organization: Century Computing, Inc.
Date: 26 Jan 93 04:09:57 GMT


2.261 had a small bug which manifests itself only on non-patched
emacs. If you're running c++-mode.el under Lucid Emacs you won't
notice the problem. The bug breaks c++-submit-bug-report, so I thought
it was pretty important to send out a patch ;-).

The version on ftp.cme.nist.gov has been fixed, but you should apply
this patch if you've already downloaded 2.261.  This ups the version
number to 2.261.1.1

Enjoy,
-Barry

-------------------- snip snip --------------------
*** c++-mode.el.bak	Sat Jan 23 13:25:52 1993
--- c++-mode.el	Mon Jan 25 18:41:12 1993
***************
*** 6,11 ****
  ;; Maintainer: c++-mode-help@anthem.nlm.nih.gov
  ;; Created: a long, long, time ago. adapted from the original c-mode.el
! ;; Version:         Revision: 2.261 
! ;; Last Modified:   Date: 1993/01/13 22:57:51 
  ;; Keywords: C++ C editing major-mode
  
--- 6,11 ----
  ;; Maintainer: c++-mode-help@anthem.nlm.nih.gov
  ;; Created: a long, long, time ago. adapted from the original c-mode.el
! ;; Version:         Revision: 2.261.1.1 
! ;; Last Modified:   Date: 1993/01/25 23:34:52 
  ;; Keywords: C++ C editing major-mode
  
***************
*** 132,136 ****
  ;; c++-mode|Barry A. Warsaw|c++-mode-help@anthem.nlm.nih.gov
  ;; |Mode for editing C++, and ANSI/K&R C code (was Detlefs' c++-mode.el)
! ;; |Date: 1993/01/13 22:57:51 |Revision: 2.261 |
  
  ;;; Code:
--- 132,136 ----
  ;; c++-mode|Barry A. Warsaw|c++-mode-help@anthem.nlm.nih.gov
  ;; |Mode for editing C++, and ANSI/K&R C code (was Detlefs' c++-mode.el)
! ;; |Date: 1993/01/25 23:34:52 |Revision: 2.261.1.1 |
  
  ;;; Code:
***************
*** 453,457 ****
  ;; ======================================================================
  (defun c++-mode ()
!   "Major mode for editing C++ code.  Revision: 2.261 
  To submit a bug report, enter \"\\[c++-submit-bug-report]\"
  from a c++-mode buffer.
--- 453,457 ----
  ;; ======================================================================
  (defun c++-mode ()
!   "Major mode for editing C++ code.  Revision: 2.261.1.1 
  To submit a bug report, enter \"\\[c++-submit-bug-report]\"
  from a c++-mode buffer.
***************
*** 674,678 ****
  
  (defun c++-c-mode ()
!   "Major mode for editing K&R and ANSI C code. Revision: 2.261 
  This mode is based on c++-mode. Documentation for this mode is
  available by doing a \"\\[describe-function] c++-mode\"."
--- 674,678 ----
  
  (defun c++-c-mode ()
!   "Major mode for editing K&R and ANSI C code. Revision: 2.261.1.1 
  This mode is based on c++-mode. Documentation for this mode is
  available by doing a \"\\[describe-function] c++-mode\"."
***************
*** 2416,2420 ****
  ;; defuns for submitting bug reports
  ;; ======================================================================
! (defconst c++-version "Revision: 2.261 "
    "c++-mode version number.")
  
--- 2416,2420 ----
  ;; defuns for submitting bug reports
  ;; ======================================================================
! (defconst c++-version "Revision: 2.261.1.1 "
    "c++-mode version number.")
  
***************
*** 2479,2485 ****
  	    " code) \n"
  	    (if c++-emacs-is-fixed-p
! 		"You've applied the (hopefully most recent) syntax patch!\n")
  	    (if c++-emacs-is-really-fixed-p
! 		"Looks like you've also got the parse-back patch. Good!\n")
  	    "\ncurrent state:\n==============\n(setq\n")
      (mapcar
--- 2479,2487 ----
  	    " code) \n"
  	    (if c++-emacs-is-fixed-p
! 		"You've applied the (hopefully most recent) syntax patch!\n"
! 	      "No syntax patch applied\n")
  	    (if c++-emacs-is-really-fixed-p
! 		"Looks like you've also got the parse-back patch. Good!\n"
! 	      "No parse-back patch applied\n")
  	    "\ncurrent state:\n==============\n(setq\n")
      (mapcar