From 4ed6693f57fcfb0ad15849d7d4861b7efaf8e11a Mon Sep 17 00:00:00 2001
From: Přemysl Eric Janouch <p@janouch.name>
Date: Mon, 29 Aug 2022 08:21:14 +0200
Subject: xC: erase remaining mentions of a "backlog helper"

---
 xC.adoc | 4 ++--
 xC.c    | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/xC.adoc b/xC.adoc
index b2caa6d..c196669 100644
--- a/xC.adoc
+++ b/xC.adoc
@@ -62,10 +62,10 @@ their respective function names:
 *M-a*: *goto-activity*::
 	Go to the first following buffer with unseen activity.
 *PageUp*: *display-backlog*::
-	Show the in-memory backlog for this buffer in the backlog helper,
+	Show the in-memory backlog for this buffer using *general.pager*,
 	which is almost certainly the *less*(1) program.
 *M-h*: *display-full-log*::
-	Show the log file for this buffer in the backlog helper.
+	Show the log file for this buffer using *general.pager*.
 *M-H*: *toggle-unimportant*::
 	Hide all join, part and quit messages, as well as all channel mode changes
 	that only relate to user channel modes.  Intended to reduce noise in
diff --git a/xC.c b/xC.c
index 50ddbcb..d6c82b7 100644
--- a/xC.c
+++ b/xC.c
@@ -2879,7 +2879,7 @@ attr_printer_tputs (struct attr_printer *self, const char *attr)
 		tputs (attr, 1, printer);
 	else
 		// We shouldn't really do this but we need it to output formatting
-		// to the backlog helper--it should be SGR-only
+		// to the pager--it should be SGR-only
 		attr_printer_filtered_puts (self->stream, attr);
 }
 
@@ -13169,7 +13169,7 @@ toggle_bracketed_paste (bool enable)
 static void
 suspend_terminal (struct app_context *ctx)
 {
-	// Terminal can get suspended by both backlog helper and SIGTSTP handling
+	// Terminal can get suspended by both the pager and SIGTSTP handling
 	if (ctx->terminal_suspended++ > 0)
 		return;
 
@@ -14174,8 +14174,8 @@ setup_signal_handlers (void)
 
 	signal (SIGPIPE, SIG_IGN);
 
-	// So that we can write to the terminal while we're running a backlog
-	// helper.  This is also inherited by the child so that it doesn't stop
+	// So that we can write to the terminal while we're running a pager.
+	// This is also inherited by the child so that it doesn't stop
 	// when it calls tcsetpgrp().
 	signal (SIGTTOU, SIG_IGN);
 
-- 
cgit v1.2.3-70-g09d2