diff options
author | Alan Mackenzie <acm@muc.de> | 2008-01-26 19:59:10 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2008-01-26 19:59:10 +0000 |
commit | c7ad89a66816230bb37fa6d16cc114e24ead28ea (patch) | |
tree | 6e89c09fd891b77980c5409772898d25bf1d05f8 /lisp/progmodes/cc-defs.el | |
parent | 30719e6c95c570674e2736ece52677e7161143a7 (diff) | |
download | emacs-c7ad89a66816230bb37fa6d16cc114e24ead28ea.tar.gz |
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
nil, to prevent primitives generating "buffer is read only" messages.
Diffstat (limited to 'lisp/progmodes/cc-defs.el')
-rw-r--r-- | lisp/progmodes/cc-defs.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 9dbd5161a84..1632d756ffc 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -425,6 +425,8 @@ The return value is the value of the last form in BODY." (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) |