diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-29 17:07:38 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-29 17:07:57 -0700 |
| commit | 2e2811865f0adb6658a87d3581a2dc3a9022f451 (patch) | |
| tree | 286e80914dc979a45070be1929faad22a618eb7c /src/sysdep.c | |
| parent | 08594a975a3d95b1c1eae38af608e487e2edfafc (diff) | |
| download | emacs-2e2811865f0adb6658a87d3581a2dc3a9022f451.tar.gz | |
unbind_to performance tuning
* src/alloc.c (which_symbols):
* src/dispnew.c (Fredisplay):
* src/editfns.c (Fsubst_char_in_region):
* src/fileio.c (Fdo_auto_save):
* src/indent.c (Fvertical_motion):
* src/keymap.c (Fcurrent_active_maps):
* src/lread.c (Feval_buffer):
* src/minibuf.c (get_minibuffer):
* src/sysdep.c (system_process_attributes):
* src/textprop.c (Fnext_single_char_property_change)
(Fprevious_single_char_property_change):
* src/window.c (Fscroll_other_window, Fscroll_other_window_down):
* src/xdisp.c (Fformat_mode_line):
Help the compiler eliminate tail recursion in call to unbind_to.
* src/coding.c (decode_coding_gap):
Omit unnecessary unbind_to, as we’re about to call unbind_to anyway.
* src/coding.c (Fread_coding_system):
* src/eval.c (eval_sub):
* src/xdisp.c (handle_single_display_spec, decode_mode_spec):
* src/xselect.c (x_get_local_selection):
Avoid need to save a machine register when calling unbind_to.
* src/minibuf.c (Ftry_completion, Fall_completions):
Omit unnecessary assignment.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index c59034ce5c3..231b11614f4 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3592,8 +3592,7 @@ system_process_attributes (Lisp_Object pid) Vlocale_coding_system, 0); attrs = Fcons (Fcons (Qargs, decoded_cmd), attrs); } - unbind_to (count, Qnil); - return attrs; + return unbind_to (count, attrs); } #elif defined __FreeBSD__ |
