diff my-news.el @ 61:963ac2f8e386

old local
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 05 Apr 2024 10:13:30 +0100
parents 95ba4cc6ffe4
children e7c2deb7de20
line wrap: on
line diff
--- a/my-news.el	Fri Apr 05 09:11:09 2024 +0100
+++ b/my-news.el	Fri Apr 05 10:13:30 2024 +0100
@@ -814,7 +814,7 @@
 (setq message-citation-line-function (function safe-citation))
 
 
-(defvar safelink_pat "https://[a-z0-9.]*safelinks.protection.outlook.com/\\?url=\\(https?%3A%2F%2F[^&<>\"]*\\)[^\"<> ]*")
+(defvar safelink_pat "https://[a-z0-9.]*safelinks.protection.outlook.com/\\?url=\\(\\(ftp\\|https?\\)%3A%2F%2F[^&<>\"]*\\)[^\"<> \n]*")
 
 (require 'url)