emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102033: * insdel.c (prepare_to_modif


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102033: * insdel.c (prepare_to_modify_buffer): Don't set
Date: Thu, 21 Oct 2010 13:27:32 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102033
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2010-10-21 13:27:32 -0400
message:
  * insdel.c (prepare_to_modify_buffer): Don't set
  saved-region-selection if modification hooks are disabled.
modified:
  src/ChangeLog
  src/insdel.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-10-19 15:43:27 +0000
+++ b/src/ChangeLog     2010-10-21 17:27:32 +0000
@@ -1,3 +1,8 @@
+2010-10-21  Chong Yidong  <address@hidden>
+
+       * insdel.c (prepare_to_modify_buffer): Don't set
+       saved-region-selection if modification hooks are disabled.
+
 2010-10-19  Chong Yidong  <address@hidden>
 
        * cmds.c (Fdelete_char): Doc fix.

=== modified file 'src/insdel.c'
--- a/src/insdel.c      2010-09-25 19:50:13 +0000
+++ b/src/insdel.c      2010-10-21 17:27:32 +0000
@@ -2051,6 +2051,7 @@
 
   /* If `select-active-regions' is non-nil, save the region text.  */
   if (!NILP (current_buffer->mark_active)
+      && !inhibit_modification_hooks
       && XMARKER (current_buffer->mark)->buffer
       && NILP (Vsaved_region_selection)
       && (EQ (Vselect_active_regions, Qonly)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]