aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2011-05-21 14:19:30 -0700
committerGlenn Morris2011-05-21 14:19:30 -0700
commit2a35386df43842ade192a4f5fea5a412cf0d8d29 (patch)
tree6fd8dc56af5f43b7608057d555227ad20c096868 /admin
parente8c061395d487b1373b7e19fa1c64fdf6d5cfd91 (diff)
downloademacs-2a35386df43842ade192a4f5fea5a412cf0d8d29.tar.gz
emacs-2a35386df43842ade192a4f5fea5a412cf0d8d29.zip
* admin/bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog4
-rw-r--r--admin/bzrmerge.el3
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 @@
12011-05-21 Glenn Morris <rgm@gnu.org>
2
3 * bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.
4
12011-03-07 Chong Yidong <cyd@stupidchicken.com> 52011-03-07 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * Version 23.3 released. 7 * 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."
146 (unless (file-exists-p file) (error "Bzrmerge-resolve: Can't find %s" file)) 146 (unless (file-exists-p file) (error "Bzrmerge-resolve: Can't find %s" file))
147 (with-demoted-errors 147 (with-demoted-errors
148 (let ((exists (find-buffer-visiting file))) 148 (let ((exists (find-buffer-visiting file)))
149 (with-current-buffer (find-file-noselect file) 149 (with-current-buffer (let ((enable-local-variables :safe))
150 (find-file-noselect file))
150 (if (buffer-modified-p) 151 (if (buffer-modified-p)
151 (error "Unsaved changes in %s" (current-buffer))) 152 (error "Unsaved changes in %s" (current-buffer)))
152 (save-excursion 153 (save-excursion