summarylogtreecommitdiffstats
path: root/manpageview.vim.diff
blob: b2a9dd848cef852b086943f207e0829ab0c12f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/autoload/manpageview.vim b/autoload/manpageview.vim
index 796a3f1..9998d1a 100644
--- a/autoload/manpageview.vim
+++ b/autoload/manpageview.vim
@@ -724,6 +724,7 @@ fun! manpageview#ManPageView(...) range
    if !exists("s:mpv_booksearch")
     echohl ErrorMsg
     echo "***warning*** sorry, no manpage exists for <".topic.">"
+    let v:errmsg="no manpage exists"
     echohl None
     sleep 2
    endif