aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorJuanma Barranquero2002-07-11 14:18:02 +0000
committerJuanma Barranquero2002-07-11 14:18:02 +0000
commitaed13378308fae471bf2c11870a456e457166c31 (patch)
tree89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/editfns.c
parente20b31732ad01d8de7605ea740525dedc3dbdb90 (diff)
downloademacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz
emacs-aed13378308fae471bf2c11870a456e457166c31.zip
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c
index a2e2aaf269e..72da635a9b4 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -851,7 +851,7 @@ usage: (save-excursion &rest BODY) */)
851 Lisp_Object args; 851 Lisp_Object args;
852{ 852{
853 register Lisp_Object val; 853 register Lisp_Object val;
854 int count = specpdl_ptr - specpdl; 854 int count = SPECPDL_INDEX ();
855 855
856 record_unwind_protect (save_excursion_restore, save_excursion_save ()); 856 record_unwind_protect (save_excursion_restore, save_excursion_save ());
857 857
@@ -867,7 +867,7 @@ usage: (save-current-buffer &rest BODY) */)
867 Lisp_Object args; 867 Lisp_Object args;
868{ 868{
869 Lisp_Object val; 869 Lisp_Object val;
870 int count = specpdl_ptr - specpdl; 870 int count = SPECPDL_INDEX ();
871 871
872 record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ()); 872 record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ());
873 873
@@ -2482,7 +2482,7 @@ Both characters must have the same length of multi-byte form. */)
2482 int changed = 0; 2482 int changed = 0;
2483 unsigned char fromstr[MAX_MULTIBYTE_LENGTH], tostr[MAX_MULTIBYTE_LENGTH]; 2483 unsigned char fromstr[MAX_MULTIBYTE_LENGTH], tostr[MAX_MULTIBYTE_LENGTH];
2484 unsigned char *p; 2484 unsigned char *p;
2485 int count = specpdl_ptr - specpdl; 2485 int count = SPECPDL_INDEX ();
2486#define COMBINING_NO 0 2486#define COMBINING_NO 0
2487#define COMBINING_BEFORE 1 2487#define COMBINING_BEFORE 1
2488#define COMBINING_AFTER 2 2488#define COMBINING_AFTER 2
@@ -2894,7 +2894,7 @@ usage: (save-restriction &rest BODY) */)
2894 Lisp_Object body; 2894 Lisp_Object body;
2895{ 2895{
2896 register Lisp_Object val; 2896 register Lisp_Object val;
2897 int count = specpdl_ptr - specpdl; 2897 int count = SPECPDL_INDEX ();
2898 2898
2899 record_unwind_protect (save_restriction_restore, save_restriction_save ()); 2899 record_unwind_protect (save_restriction_restore, save_restriction_save ());
2900 val = Fprogn (body); 2900 val = Fprogn (body);