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/indent.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/indent.c')
-rw-r--r-- | src/indent.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/indent.c b/src/indent.c index 9c751bc30b5..a86db71642e 100644 --- a/src/indent.c +++ b/src/indent.c @@ -2356,9 +2356,7 @@ whether or not it is currently displayed in some window. */) bidi_unshelve_cache (itdata, 0); } - unbind_to (count, Qnil); - - return make_number (it.vpos); + return unbind_to (count, make_number (it.vpos)); } |