emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/markers.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/markers.texi
Date: Fri, 12 Jul 2002 19:31:02 -0400

Index: emacs/lispref/markers.texi
diff -c emacs/lispref/markers.texi:1.12 emacs/lispref/markers.texi:1.13
*** emacs/lispref/markers.texi:1.12     Wed Jan  5 09:59:13 2000
--- emacs/lispref/markers.texi  Fri Jul 12 19:31:02 2002
***************
*** 558,563 ****
--- 558,573 ----
  Transient Mark mode is enabled).  All the primitives that change the
  buffer set @code{deactivate-mark}, to deactivate the mark when the
  command is finished.
+ 
+ To write Lisp code that modifies the buffer without causing
+ deactivation of the mark at the end of the command, bind
+ @code{deactivate-mark} to @code{nil} around the code that does the
+ modification.  For example:
+ 
+ @example
+ (let (deactivate-mark)
+   (insert " "))
+ @end example
  @end defvar
  
  @defun deactivate-mark



reply via email to

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