diff options
author | Glenn Morris <rgm@gnu.org> | 2011-05-21 14:19:30 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-05-21 14:19:30 -0700 |
commit | 2a35386df43842ade192a4f5fea5a412cf0d8d29 (patch) | |
tree | 6fd8dc56af5f43b7608057d555227ad20c096868 /admin | |
parent | e8c061395d487b1373b7e19fa1c64fdf6d5cfd91 (diff) | |
download | emacs-2a35386df43842ade192a4f5fea5a412cf0d8d29.tar.gz |
* admin/bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/ChangeLog | 4 | ||||
-rw-r--r-- | admin/bzrmerge.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 853c1941a92..7aaeb1d5ee2 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,7 @@ +2011-05-21 Glenn Morris <rgm@gnu.org> + + * bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals. + 2011-03-07 Chong Yidong <cyd@stupidchicken.com> * Version 23.3 released. diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el index 33cbae22a6c..583f0d88866 100644 --- a/admin/bzrmerge.el +++ b/admin/bzrmerge.el @@ -146,7 +146,8 @@ are both lists of revnos, in oldest-first order." (unless (file-exists-p file) (error "Bzrmerge-resolve: Can't find %s" file)) (with-demoted-errors (let ((exists (find-buffer-visiting file))) - (with-current-buffer (find-file-noselect file) + (with-current-buffer (let ((enable-local-variables :safe)) + (find-file-noselect file)) (if (buffer-modified-p) (error "Unsaved changes in %s" (current-buffer))) (save-excursion |