diff options
| author | Andrea Corallo | 2020-06-09 22:41:19 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-06-10 14:33:34 +0200 |
| commit | dd939d7484adad7735e66b1759283d00df708e70 (patch) | |
| tree | fd5816610630d6c1c134591c274422d950f7bcef /src/comp.c | |
| parent | 10933f235fa2f1d7a3936da173cdd6e807bff57f (diff) | |
| download | emacs-dd939d7484adad7735e66b1759283d00df708e70.tar.gz emacs-dd939d7484adad7735e66b1759283d00df708e70.zip | |
* Remove unused 'helper_save_window_excursion'
* src/comp.c (helper_unwind_protect): Remove definition and
declaration.
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/comp.c b/src/comp.c index 521cadcb10c..af61d76d46d 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -591,7 +591,7 @@ typedef struct { | |||
| 591 | /* | 591 | /* |
| 592 | Helper functions called by the run-time. | 592 | Helper functions called by the run-time. |
| 593 | */ | 593 | */ |
| 594 | Lisp_Object helper_save_window_excursion (Lisp_Object v1); | 594 | |
| 595 | void helper_unwind_protect (Lisp_Object handler); | 595 | void helper_unwind_protect (Lisp_Object handler); |
| 596 | Lisp_Object helper_temp_output_buffer_setup (Lisp_Object x); | 596 | Lisp_Object helper_temp_output_buffer_setup (Lisp_Object x); |
| 597 | Lisp_Object helper_unbind_n (Lisp_Object n); | 597 | Lisp_Object helper_unbind_n (Lisp_Object n); |
| @@ -4014,17 +4014,6 @@ DEFUN ("comp-libgccjit-version", Fcomp_libgccjit_version, | |||
| 4014 | /* for laziness. Change this if a performance impact is measured. */ | 4014 | /* for laziness. Change this if a performance impact is measured. */ |
| 4015 | /******************************************************************************/ | 4015 | /******************************************************************************/ |
| 4016 | 4016 | ||
| 4017 | Lisp_Object | ||
| 4018 | helper_save_window_excursion (Lisp_Object v1) | ||
| 4019 | { | ||
| 4020 | ptrdiff_t count1 = SPECPDL_INDEX (); | ||
| 4021 | record_unwind_protect (restore_window_configuration, | ||
| 4022 | Fcurrent_window_configuration (Qnil)); | ||
| 4023 | v1 = Fprogn (v1); | ||
| 4024 | unbind_to (count1, v1); | ||
| 4025 | return v1; | ||
| 4026 | } | ||
| 4027 | |||
| 4028 | void | 4017 | void |
| 4029 | helper_unwind_protect (Lisp_Object handler) | 4018 | helper_unwind_protect (Lisp_Object handler) |
| 4030 | { | 4019 | { |