diff options
author | Case Duckworth | 2021-08-07 15:14:27 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-07 15:14:27 -0500 |
commit | 6619e7067eb40e15e501f84c03f205c4634ee0a2 (patch) | |
tree | c08c91564061f7647dc0b2ea458ca3af0bb67ecf /lisp/acdw.el | |
parent | Add C-g to quit re-builder (diff) | |
parent | Merge branch 'main' of tildegit.org:acdw/emacs (diff) | |
download | emacs-6619e7067eb40e15e501f84c03f205c4634ee0a2.tar.gz emacs-6619e7067eb40e15e501f84c03f205c4634ee0a2.zip |
Merge branch 'main' of https://tildegit.org/acdw/emacs
Diffstat (limited to 'lisp/acdw.el')
-rw-r--r-- | lisp/acdw.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/acdw.el b/lisp/acdw.el index 9d8c489..be12dd6 100644 --- a/lisp/acdw.el +++ b/lisp/acdw.el | |||
@@ -497,6 +497,15 @@ Then, build `browse-url-button-regexp' with the new protocol." | |||
497 | (add-to-list 'acdw/button-protocols proto) | 497 | (add-to-list 'acdw/button-protocols proto) |
498 | (setq-default browse-url-button-regexp (acdw/build-button-url-regexp))) | 498 | (setq-default browse-url-button-regexp (acdw/build-button-url-regexp))) |
499 | 499 | ||
500 | ;;; Browse-URL tweaks | ||
501 | |||
502 | ;; convert twitter.com to nitter | ||
503 | (defun acdw/eww-browse-twitter-url (url &rest args) | ||
504 | "Browse a Twitter.com URL using Nitter." | ||
505 | (let* ((nitter "nitter.snopyta.org") | ||
506 | (url (replace-regexp-in-string "twitter\\.com" nitter url))) | ||
507 | (eww-browse-url url args))) | ||
508 | |||
500 | 509 | ||
501 | ;;; Recentf renaming with dired | 510 | ;;; Recentf renaming with dired |
502 | ;; from ... somewhere. 'rjs', apparently? | 511 | ;; from ... somewhere. 'rjs', apparently? |