summaryrefslogtreecommitdiffhomepage
path: root/attic/elisp
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-10-24 17:45:00 +0100
committerjao <jao@gnu.org>2026-10-24 17:45:00 +0100
commit1331c107a9edb1c7c4b4b902b83689d958a1b5ca (patch)
tree21fba37336ca5c09c1a3803ff1cd9a282997eddc /attic/elisp
parentb454bdd4aca5342421c2f45190d917e1b82d9183 (diff)
downloadelibs-1331c107a9edb1c7c4b4b902b83689d958a1b5ca.tar.gz
elibs-1331c107a9edb1c7c4b4b902b83689d958a1b5ca.tar.bz2
weather
Diffstat (limited to 'attic/elisp')
-rw-r--r--attic/elisp/misc.el15
1 files changed, 0 insertions, 15 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el
index 36c39d3..8808a5f 100644
--- a/attic/elisp/misc.el
+++ b/attic/elisp/misc.el
@@ -946,21 +946,6 @@
'notmuch-tree-no-match-author-face)))
(propertize auth 'face face)))
-;; winttr
-
-(defun jao-weather (&optional wide)
- (interactive "P")
- (if (not wide)
- (message "%s"
- (jao-shell-string "curl -s"
- "https://wttr.in/?format=%l++%m++%C+%c+%t+%w++%p"))
- (jao-afio-goto-scratch)
- (if-let ((b (get-buffer "*wttr*")))
- (progn (pop-to-buffer b)
- (term-send-string (get-buffer-process nil) "clear;curl wttr.in\n"))
- (jao-exec-in-term "curl wttr.in" "*wttr*"))))
-(global-set-key (kbd "<f5>") #'jao-weather)
-
;; so-long
(setq large-file-warning-threshold (* 200 1024 1024))