Mercurial > emacs
changeset 88011:670e666fb738
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
nil, to prevent primitives generating "buffer is read only" messages.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Sat, 26 Jan 2008 20:28:46 +0000 |
parents | 9d2588ddfc8d |
children | db355a8d8248 |
files | lisp/progmodes/cc-defs.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cc-defs.el Sat Jan 26 20:25:17 2008 +0000 +++ b/lisp/progmodes/cc-defs.el Sat Jan 26 20:28:46 2008 +0000 @@ -425,6 +425,8 @@ (inhibit-read-only t) (inhibit-point-motion-hooks t) before-change-functions after-change-functions deactivate-mark + buffer-file-name buffer-file-truename ; Prevent primitives checking + ; for file modification ,@varlist) (unwind-protect (progn ,@body)