[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src coding.c
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/src coding.c |
Date: |
Sun, 07 Dec 2008 00:58:48 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/12/07 00:58:48
Modified files:
src : coding.c
Log message:
(make_conversion_work_buffer): Disable buffer modification hooks in
the work buffer.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/coding.c?cvsroot=emacs&r1=1.400&r2=1.401
Patches:
Index: coding.c
===================================================================
RCS file: /sources/emacs/emacs/src/coding.c,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -b -r1.400 -r1.401
--- coding.c 3 Dec 2008 06:35:02 -0000 1.400
+++ coding.c 7 Dec 2008 00:58:47 -0000 1.401
@@ -7032,6 +7032,10 @@
}
current = current_buffer;
set_buffer_internal (XBUFFER (workbuf));
+ /* We can't allow modification hooks to run in the work buffer. For
+ instance, directory_files_internal assumes that file decoding
+ doesn't compile new regexps. */
+ Fset (Fmake_local_variable (Qinhibit_modification_hooks), Qt);
Ferase_buffer ();
current_buffer->undo_list = Qt;
current_buffer->enable_multibyte_characters = multibyte ? Qt : Qnil;
- [Emacs-diffs] emacs/src coding.c, Kenichi Handa, 2008/12/02
- [Emacs-diffs] emacs/src coding.c, Kenichi Handa, 2008/12/02
- [Emacs-diffs] emacs/src coding.c, Kenichi Handa, 2008/12/02
- [Emacs-diffs] emacs/src coding.c, Kenichi Handa, 2008/12/03
- [Emacs-diffs] emacs/src coding.c, Kenichi Handa, 2008/12/03
- [Emacs-diffs] emacs/src coding.c,
Chong Yidong <=
- [Emacs-diffs] emacs/src coding.c, Jason Rumney, 2008/12/20