emacs-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
please help concerning specpdl
From
:
Alin Soare
Subject
:
please help concerning specpdl
Date
:
Sat, 4 Dec 2010 07:33:50 +0200
Many functions in emacs contain the sequence
{
count = SPECPDL_INDEX ();
record_unwind_protect
val = Fprogn (args);
return unbind_to (count, val);
}
like the function attached below,
Can you explain me the logic of specpdl please ?
DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0,
....
(Lisp_Object args)
{
Lisp_Object val;
int count = SPECPDL_INDEX ();
record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ());
val = Fprogn (args);
return unbind_to (count, val);
}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
please help concerning specpdl
,
Alin Soare
<=
Re: please help concerning specpdl
,
Davis Herring
,
2010/12/06
Re: please help concerning specpdl
,
Alin Soare
,
2010/12/14
Re: please help concerning specpdl
,
Davis Herring
,
2010/12/14
Re: please help concerning specpdl
,
Ken Raeburn
,
2010/12/14
Prev by Date:
Re: SMIE documentation
Next by Date:
Re: return
Previous by thread:
uniq
Next by thread:
Re: please help concerning specpdl
Index(es):
Date
Thread