diff options
Diffstat (limited to 'emacs/.emacs.d/lisp/my/my-web.el')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-web.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-web.el b/emacs/.emacs.d/lisp/my/my-web.el index 472cab6..6c3cd92 100644 --- a/emacs/.emacs.d/lisp/my/my-web.el +++ b/emacs/.emacs.d/lisp/my/my-web.el @@ -161,6 +161,9 @@ Useful for bypassing some paywalls." (my-url-as-googlebot (my-fetch-browse url no-overwrite))) +(require 'hmm) +(defvar my-url-context-function 'hmm-url "Context function for urls.") + (defun my-mastodon-url-p (url) "Guess if a url is a mastodon post. e.g. https://hostux.social/@fsf/113709722998924141 |