From 6782e70a83773b84b5dedc534f99e467f0118d20 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 20 Jan 2024 10:16:49 +1100 Subject: [emacs] minor updates to url-rewrite and my-ytdl - url-rewrite: also redirect from x.com for xitter - luwak: use url-rw for rewrite - ytdl: get rid of silly full-width chars and emojis in file names --- emacs/.emacs.d/init/ycp-web.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index 6f74966..2a56f95 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -40,7 +40,7 @@ (:install t) (require 'luwak-org) (require 'my-utils) - (setq luwak-url-rewrite-function 'my-rewrite-url) + (setq luwak-url-rewrite-function 'url-rw) (setq luwak-tor-switch t) ) @@ -162,9 +162,13 @@ :match "\\