diff options
Diffstat (limited to 'modules/help-utils.el')
| -rw-r--r-- | modules/help-utils.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/help-utils.el b/modules/help-utils.el index 73fc2add..2048e0f6 100644 --- a/modules/help-utils.el +++ b/modules/help-utils.el @@ -37,6 +37,11 @@ (defun cj/local-arch-wiki-search () + "Prompt for an ArchWiki topic and open its local HTML copy in EWW. +Looks for “*.html” files under \"/usr/share/doc/arch-wiki/html/en\", +lets you complete on their basenames, and displays the chosen file +with `eww-browse-url'. If no file is found, reminds you to install +arch-wiki-docs." (interactive) (let* ((dir "/usr/share/doc/arch-wiki/html/en") (full-filenames (directory-files dir t "\\.html\\'")) |
