about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 56ecd608..a9d06567 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -586,7 +586,7 @@ proc deleteContainer(pager: Pager, container: Container) =
   pager.unreg.add((container.process, container.iface.stream))
   pager.forkserver.removeChild(container.process)
 
-proc discardBuffer(pager: Pager, container = none(Container)) {.jsfunc.} =
+proc discardBuffer*(pager: Pager, container = none(Container)) {.jsfunc.} =
   let c = container.get(pager.container)
   if c == nil or c.parent == nil and c.children.len == 0:
     pager.alert("Cannot discard last buffer!")