diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-02-23 18:19:41 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-02-23 18:19:41 +0100 |
commit | 3cc43ddbc9d603f430dd6efc6d217cb6364c241e (patch) | |
tree | a4d7f457c2987cffe18e97a3b5eba3ae42d6bb82 | |
parent | 77678bbc387cf492a3862f62670f5cb0a0e9d805 (diff) |
add eww--url-at-point to thing-at-point-provider-alist
-rw-r--r-- | lisp/mastodon.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 7a04c87..4928bf1 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -463,7 +463,12 @@ Calls `mastodon-tl--get-buffer-type', which see." (mastodon-toot--enable-custom-emoji))) (mastodon-profile--fetch-server-account-settings) (when mastodon-tl--highlight-current-toot - (cursor-face-highlight-mode))) ; 29.1 + (cursor-face-highlight-mode)) ; 29.1 + ;; make `thing-at-point' functions work: + (setq-local thing-at-point-provider-alist + (append thing-at-point-provider-alist + '((url . eww--url-at-point))))) + ;;;###autoload (add-hook 'mastodon-mode-hook #'mastodon-mode-hook-fun) |