changeset 5817:6229dd3050be

(c-macro-expand): Check inhibit-read-only.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Feb 1994 05:40:46 +0000
parents c381f562cffc
children bdda7582b8cd
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Mon Feb 07 05:39:56 1994 +0000
+++ b/lisp/progmodes/cmacexp.el	Mon Feb 07 05:40:46 1994 +0000
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1992 Free Software Foundation, Inc.
 
 ;; Author: Francesco Potorti` <pot@cnuce.cnr.it>
-;; Version: $Id: cmacexp.el 1.2 1992/09/15 11:34:56 pot Exp $
+;; Version: $Id: cmacexp.el,v 1.8 1994/02/07 05:39:56 rms Exp rms $
 ;; Adapted-By: ESR
 ;; Keywords: c
 
@@ -177,7 +177,7 @@
 			   c-macro-default-cppflags)))
     ;; Decide where to display output.
     (if (and subst
-	     buffer-read-only
+	     (and buffer-read-only (not inhibit-read-only))
 	     (not (eq inbuf displaybuf)))
 	(progn
 	  (message