help-gnu-emacs
[Top][All Lists]
Advanced

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

save-restriction, save-excursion


From: pokerface
Subject: save-restriction, save-excursion
Date: 16 Sep 2002 23:31:42 GMT
User-agent: Xnews/5.04.25

I am beginning to study Emacs Lisp and I have the following question:

Why is it wrong to write (save-restriction
                           (save-excursion
                               ....))

and it is recommended instead to write
                         (save-excursion
                           (save-restriction
                               ....))

Can someone please give an example of the difference?

Thank you.


reply via email to

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