aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2020-06-09 22:41:19 +0200
committerAndrea Corallo2020-06-10 14:33:34 +0200
commitdd939d7484adad7735e66b1759283d00df708e70 (patch)
treefd5816610630d6c1c134591c274422d950f7bcef /src/comp.c
parent10933f235fa2f1d7a3936da173cdd6e807bff57f (diff)
downloademacs-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.c13
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*/
594Lisp_Object helper_save_window_excursion (Lisp_Object v1); 594
595void helper_unwind_protect (Lisp_Object handler); 595void helper_unwind_protect (Lisp_Object handler);
596Lisp_Object helper_temp_output_buffer_setup (Lisp_Object x); 596Lisp_Object helper_temp_output_buffer_setup (Lisp_Object x);
597Lisp_Object helper_unbind_n (Lisp_Object n); 597Lisp_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
4017Lisp_Object
4018helper_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
4028void 4017void
4029helper_unwind_protect (Lisp_Object handler) 4018helper_unwind_protect (Lisp_Object handler)
4030{ 4019{