From: Richard M. Stallman Date: Mon, 7 Feb 1994 05:40:46 +0000 (+0000) Subject: (c-macro-expand): Check inhibit-read-only. X-Git-Tag: emacs-19.34~10034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c61e6a9bc72600942f745c8d9489e1972da5f63;p=emacs.git (c-macro-expand): Check inhibit-read-only. --- 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` -;; 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