d53955b9e65809c54eec5e48370897fa885523bb
commit d53955b9e65809c54eec5e48370897fa885523bb
Author: Simon Watson <spw01@protonmail.com>
Date: Tue Jul 20 22:48:36 2021 -0400

blah

diff --git a/emacs/elisp/hn.el b/emacs/elisp/hn.el
index 2c96803..e122aac 100644
--- a/emacs/elisp/hn.el
+++ b/emacs/elisp/hn.el
@@ -12,3 +12,10 @@
;;;; The main supported functionality is to display in a buffer a list of
;;;; HN top stories (in a buffer), and to then open articles in the web browser,
;;;; or display comments in a buffer
+
+(if (executable-find "hn")
+ (progn
+ (with-temp-buffer-window "hn"
+ 'temp-buffer-show-function
+ 'inhibit-quit
+ (concat "\n" (shell-command-to-string "hn top 20")))))