From 755a375d1fe78be3c1ad35cd516ac38faaf0e0d6 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Tue, 9 Jun 2020 11:27:07 +0200 Subject: [PATCH] Encode URLs before display in mouse-over. Wasn't doing this previously as it's faster not to (and it's only the help text and can't be otherwise used), but rendering special characters in the mouse-over text apparently causes Emacs to crash on MacOS! >:( --- elpher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elpher.el b/elpher.el index c135e09..cca05b8 100644 --- a/elpher.el +++ b/elpher.el @@ -707,7 +707,7 @@ displayed. The _WINDOW argument is currently unused." (address (elpher-page-address page))) (format "mouse-1, RET: open '%s'" (if (elpher-address-special-p address) address - (url-recreate-url address)))))))) + (elpher-address-to-url address)))))))) (defun elpher-insert-index-record (display-string &optional address) "Function to insert an index record into the current buffer. -- 2.20.1