diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-02-07 05:40:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-02-07 05:40:46 +0000 |
commit | 6c61e6a9bc72600942f745c8d9489e1972da5f63 (patch) | |
tree | b028323e88130b25b8644d93d59982eb8cab1c69 /lisp/progmodes | |
parent | 4af1f50975ac4be509c67a9db822c859069782f9 (diff) | |
download | emacs-6c61e6a9bc72600942f745c8d9489e1972da5f63.tar.gz |
(c-macro-expand): Check inhibit-read-only.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cmacexp.el | 4 |
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 |