Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
331379bf
Commit
331379bf
authored
Jul 10, 2002
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename BINDING_STACK_SIZE to SPECPDL_INDEX.
parent
c929397d
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
37 additions
and
37 deletions
+37
-37
src/alloc.c
src/alloc.c
+1
-1
src/emacs.c
src/emacs.c
+1
-1
src/fileio.c
src/fileio.c
+1
-1
src/frame.c
src/frame.c
+1
-1
src/keyboard.c
src/keyboard.c
+3
-3
src/macfns.c
src/macfns.c
+2
-2
src/minibuf.c
src/minibuf.c
+1
-1
src/undo.c
src/undo.c
+1
-1
src/w32fns.c
src/w32fns.c
+4
-4
src/window.c
src/window.c
+2
-2
src/xdisp.c
src/xdisp.c
+13
-13
src/xfaces.c
src/xfaces.c
+2
-2
src/xfns.c
src/xfns.c
+4
-4
src/xselect.c
src/xselect.c
+1
-1
No files found.
src/alloc.c
View file @
331379bf
...
...
@@ -4048,7 +4048,7 @@ Garbage collection happens automatically if you cons more than
register
int
i
;
int
message_p
;
Lisp_Object
total
[
8
];
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
/* Can't GC if pure storage overflowed because we can't determine
if something is a pure object or not. */
...
...
src/emacs.c
View file @
331379bf
...
...
@@ -2057,7 +2057,7 @@ You must run Emacs in batch mode in order to dump it. */)
extern
char
my_edata
[];
Lisp_Object
tem
;
Lisp_Object
symbol
;
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
check_pure_size
();
...
...
src/fileio.c
View file @
331379bf
...
...
@@ -3588,7 +3588,7 @@ actually used. */)
int
inserted
=
0
;
register
int
how_much
;
register
int
unprocessed
;
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
struct
gcpro
gcpro1
,
gcpro2
,
gcpro3
,
gcpro4
;
Lisp_Object
handler
,
val
,
insval
,
orig_filename
;
Lisp_Object
p
;
...
...
src/frame.c
View file @
331379bf
...
...
@@ -2162,7 +2162,7 @@ enabled such bindings for that variable with `make-variable-frame-local'. */)
{
FRAME_PTR
f
;
register
Lisp_Object
tail
,
prop
,
val
;
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
/* Bind this to t to inhibit initialization of the default face from
X resources in face-set-after-frame-default. If we don't inhibit
...
...
src/keyboard.c
View file @
331379bf
...
...
@@ -2090,7 +2090,7 @@ show_help_echo (help, window, object, pos, ok_to_overwrite_keystroke_echo)
{
if (STRINGP (help))
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
if (!help_echo_showing_p)
Vpre_help_message = current_message ();
...
...
@@ -4204,7 +4204,7 @@ timer_check (do_it_now)
if (NILP (vector[0]))
{
int was_locked = single_kboard;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
Lisp_Object old_deactivate_mark = Vdeactivate_mark;
/* Mark the timer as triggered to prevent problems if the lisp
...
...
@@ -9517,7 +9517,7 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_
Lisp_Object binding;
char *newmessage;
int message_p = push_message ();
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
record_unwind_protect (push_message_unwind, Qnil);
binding = Fkey_description (bindings);
...
...
src/macfns.c
View file @
331379bf
...
...
@@ -3825,7 +3825,7 @@ This function is an internal primitive--use `make-frame' instead. */)
int minibuffer_only = 0;
long window_prompting = 0;
int width, height;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
Lisp_Object display;
struct mac_display_info *dpyinfo = NULL;
...
...
@@ -9750,7 +9750,7 @@ Value is t is tooltip was open, nil otherwise. */)
GCPRO2 (frame, timer);
tip_frame = tip_timer = deleted = Qnil;
count =
BINDING_STACK_SIZE
();
count =
SPECPDL_INDEX
();
specbind (Qinhibit_redisplay, Qt);
specbind (Qinhibit_quit, Qt);
...
...
src/minibuf.c
View file @
331379bf
...
...
@@ -565,7 +565,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
/* Erase the buffer. */
{
int
count1
=
BINDING_STACK_SIZE
();
int
count1
=
SPECPDL_INDEX
();
specbind
(
Qinhibit_read_only
,
Qt
);
specbind
(
Qinhibit_modification_hooks
,
Qt
);
Ferase_buffer
();
...
...
src/undo.c
View file @
331379bf
...
...
@@ -399,7 +399,7 @@ Return what remains of the list. */)
{
struct
gcpro
gcpro1
,
gcpro2
;
Lisp_Object
next
;
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
register
int
arg
;
#if 0 /* This is a good feature, but would make undo-start
...
...
src/w32fns.c
View file @
331379bf
...
...
@@ -5498,7 +5498,7 @@ This function is an internal primitive--use `make-frame' instead. */)
int minibuffer_only = 0;
long window_prompting = 0;
int width, height;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
Lisp_Object display;
struct w32_display_info *dpyinfo = NULL;
...
...
@@ -13657,7 +13657,7 @@ x_create_tip_frame (dpyinfo, parms, text)
Lisp_Object name;
long window_prompting = 0;
int width, height;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1, gcpro2, gcpro3;
struct kboard *kb;
int face_change_count_before = face_change_count;
...
...
@@ -13997,7 +13997,7 @@ Text larger than the specified size is clipped. */)
int i, width, height;
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
int old_windows_or_buffers_changed = windows_or_buffers_changed;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qinhibit_redisplay, Qt);
...
...
@@ -14228,7 +14228,7 @@ Value is t if tooltip was open, nil otherwise. */)
GCPRO2 (frame, timer);
tip_frame = tip_timer = deleted = Qnil;
count =
BINDING_STACK_SIZE
();
count =
SPECPDL_INDEX
();
specbind (Qinhibit_redisplay, Qt);
specbind (Qinhibit_quit, Qt);
...
...
src/window.c
View file @
331379bf
...
...
@@ -4398,7 +4398,7 @@ scroll_command (n, direction)
Lisp_Object
n
;
int
direction
;
{
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
xassert
(
abs
(
direction
)
==
1
);
...
...
@@ -4512,7 +4512,7 @@ showing that buffer, popping the buffer up if necessary. */)
{
Lisp_Object
window
;
struct
window
*
w
;
int
count
=
BINDING_STACK_SIZE
();
int
count
=
SPECPDL_INDEX
();
window
=
Fother_window_for_scrolling
();
w
=
XWINDOW
(
window
);
...
...
src/xdisp.c
View file @
331379bf
...
...
@@ -1328,7 +1328,7 @@ safe_eval (sexpr)
val = Qnil;
else
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1;
GCPRO1 (sexpr);
...
...
@@ -1360,7 +1360,7 @@ safe_call (nargs, args)
val = Qnil;
else
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1;
GCPRO1 (args[0]);
...
...
@@ -2241,7 +2241,7 @@ handle_fontified_prop (it)
prop = Fget_char_property (pos, Qfontified, Qnil),
NILP (prop)))
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
Lisp_Object val;
val = Vfontification_functions;
...
...
@@ -2864,7 +2864,7 @@ handle_single_display_prop (it, prop, object, position,
if (!NILP (form) && !EQ (form, Qt))
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1;
/* Bind `object' to the object having the `display' property, a
...
...
@@ -2935,7 +2935,7 @@ handle_single_display_prop (it, prop, object, position,
/* Evaluate IT->font_height with `height' bound to the
current specified height to get the new height. */
Lisp_Object value;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qheight, face->lface[LFACE_HEIGHT_INDEX]);
value = safe_eval (it->font_height);
...
...
@@ -6271,7 +6271,7 @@ with_echo_area_buffer (w, which, fn, a1, a2, a3, a4)
{
Lisp_Object buffer;
int this_one, the_other, clear_buffer_p, rc;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
/* If buffers aren't live, make new ones. */
ensure_echo_area_buffers ();
...
...
@@ -6446,7 +6446,7 @@ setup_echo_area_for_printing (multibyte_p)
if (Z > BEG)
{
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qinhibit_read_only, Qt);
del_range (BEG, Z);
unbind_to (count, Qnil);
...
...
@@ -7126,7 +7126,7 @@ echo_area_display (update_frame_p)
/* Must update other windows. Likewise as in other
cases, don't let this update be interrupted by
pending input. */
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qredisplay_dont_pause, Qt);
windows_or_buffers_changed = 1;
redisplay_internal (0);
...
...
@@ -7359,7 +7359,7 @@ prepare_menu_bars ()
if (all_windows)
{
Lisp_Object tail, frame;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil));
...
...
@@ -7477,7 +7477,7 @@ update_menu_bar (f, save_match_data)
!= !NILP (w->region_showing)))
{
struct buffer *prev = current_buffer;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qinhibit_menubar_update, Qt);
...
...
@@ -7571,7 +7571,7 @@ update_tool_bar (f, save_match_data)
!= !NILP (w->region_showing)))
{
struct buffer *prev = current_buffer;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
/* Set current_buffer to the buffer of the selected
window of the frame, so that we get the right local
...
...
@@ -8504,7 +8504,7 @@ redisplay_internal (preserve_echo_area)
/* Record a function that resets redisplaying_p to its old value
when we leave this function. */
count =
BINDING_STACK_SIZE
();
count =
SPECPDL_INDEX
();
record_unwind_protect (unwind_redisplay, make_number (redisplaying_p));
++redisplaying_p;
...
...
@@ -10090,7 +10090,7 @@ redisplay_window (window, just_this_one_p)
/* Record it now because it's overwritten. */
int current_matrix_up_to_date_p = 0;
int temp_scroll_step = 0;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
int rc;
int centering_position;
...
...
src/xfaces.c
View file @
331379bf
...
...
@@ -6304,7 +6304,7 @@ try_alternative_families (f, family, registry, fonts)
/* Try scalable fonts before giving up. */
if (nfonts == 0 && NILP (Vscalable_fonts_allowed))
{
int
count
=
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qscalable_fonts_allowed, Qt);
nfonts = try_alternative_families (f, family, registry, fonts);
unbind_to (count, Qnil);
...
...
@@ -6450,7 +6450,7 @@ realize_basic_faces (f)
struct frame *f;
{
int success_p = 0;
int
count
=
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
/* Block input here so that we won't be surprised by an X expose
event, for instance, without having the faces set up. */
...
...
src/xfns.c
View file @
331379bf
...
...
@@ -4299,7 +4299,7 @@ This function is an internal primitive--use `make-frame' instead. */)
int minibuffer_only = 0;
long window_prompting = 0;
int width, height;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
Lisp_Object display;
struct x_display_info *dpyinfo = NULL;
...
...
@@ -10932,7 +10932,7 @@ x_create_tip_frame (dpyinfo, parms, text)
Lisp_Object name;
long window_prompting = 0;
int width, height;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
struct gcpro gcpro1, gcpro2, gcpro3;
struct kboard *kb;
int face_change_count_before = face_change_count;
...
...
@@ -11323,7 +11323,7 @@ Text larger than the specified size is clipped. */)
int i, width, height;
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
int old_windows_or_buffers_changed = windows_or_buffers_changed;
int count =
BINDING_STACK_SIZE
();
int count =
SPECPDL_INDEX
();
specbind (Qinhibit_redisplay, Qt);
...
...
@@ -11516,7 +11516,7 @@ Value is t if tooltip was open, nil otherwise. */)
GCPRO2 (frame, timer);
tip_frame = tip_timer = deleted = Qnil;
count =
BINDING_STACK_SIZE
();
count =
SPECPDL_INDEX
();
specbind (Qinhibit_redisplay, Qt);
specbind (Qinhibit_quit, Qt);
...
...
src/xselect.c
View file @
331379bf
...
...
@@ -786,7 +786,7 @@ x_handle_selection_request (event)
}
x_selection_current_request
=
event
;
count
=
BINDING_STACK_SIZE
();
count
=
SPECPDL_INDEX
();
selection_request_dpyinfo
=
dpyinfo
;
record_unwind_protect
(
x_selection_request_lisp_error
,
Qnil
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment