summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-07 05:40:46 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-07 05:40:46 +0000
commit6c61e6a9bc72600942f745c8d9489e1972da5f63 (patch)
treeb028323e88130b25b8644d93d59982eb8cab1c69 /lisp/progmodes
parent4af1f50975ac4be509c67a9db822c859069782f9 (diff)
downloademacs-6c61e6a9bc72600942f745c8d9489e1972da5f63.tar.gz
(c-macro-expand): Check inhibit-read-only.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cmacexp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 8fa710c913f..83793bce530 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -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 @@ For non interactive use, see the c-macro-expansion function."
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