comparison man/lispref/positions.texi @ 314:341dac730539 r21-0b55

Import from CVS: tag r21-0b55
author cvs
date Mon, 13 Aug 2007 10:44:22 +0200
parents 6cb5e14cd98e
children 54f7aa390f4f
comparison
equal deleted inserted replaced
313:2905de29931f 314:341dac730539
899 @code{save-restriction} construct. Read the entire description here 899 @code{save-restriction} construct. Read the entire description here
900 before you try it. 900 before you try it.
901 901
902 If @var{body} changes the current buffer, @code{save-restriction} still 902 If @var{body} changes the current buffer, @code{save-restriction} still
903 restores the restrictions on the original buffer (the buffer whose 903 restores the restrictions on the original buffer (the buffer whose
904 restructions it saved from), but it does not restore the identity of the 904 restrictions it saved from), but it does not restore the identity of the
905 current buffer. 905 current buffer.
906 906
907 @code{save-restriction} does @emph{not} restore point and the mark; use 907 @code{save-restriction} does @emph{not} restore point and the mark; use
908 @code{save-excursion} for that. If you use both @code{save-restriction} 908 @code{save-excursion} for that. If you use both @code{save-restriction}
909 and @code{save-excursion} together, @code{save-excursion} should come 909 and @code{save-excursion} together, @code{save-excursion} should come