emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/keyboard.c


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c
Date: Mon, 08 Nov 2004 12:17:55 -0500

Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.793 emacs/src/keyboard.c:1.794
*** emacs/src/keyboard.c:1.793  Fri Nov  5 11:30:01 2004
--- emacs/src/keyboard.c        Sun Nov  7 03:49:38 2004
***************
*** 1840,1845 ****
--- 1840,1853 ----
  
        if (!NILP (current_buffer->mark_active) && !NILP (Vrun_hooks))
        {
+         /* Setting transient-mark-mode to `only' is a way of
+            turning it on for just one command.  */
+ 
+         if (EQ (Vtransient_mark_mode, Qidentity))
+           Vtransient_mark_mode = Qnil;
+         if (EQ (Vtransient_mark_mode, Qonly))
+           Vtransient_mark_mode = Qidentity;
+ 
          if (!NILP (Vdeactivate_mark) && !NILP (Vtransient_mark_mode))
            {
              /* We could also call `deactivate'mark'.  */
***************
*** 1855,1870 ****
            call1 (Vrun_hooks, intern ("activate-mark-hook"));
        }
  
-       /* Setting transient-mark-mode to `only' is a way of
-        turning it on for just one command.  */
-       if (!NILP (current_buffer->mark_active) && !NILP (Vrun_hooks))
-       {
-         if (EQ (Vtransient_mark_mode, Qidentity))
-           Vtransient_mark_mode = Qnil;
-         if (EQ (Vtransient_mark_mode, Qonly))
-           Vtransient_mark_mode = Qidentity;
-       }
- 
      finalize:
  
        if (current_buffer == prev_buffer
--- 1863,1868 ----




reply via email to

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