From 9f26819efb0e1a691e56ca357c24eb436c8c34ef Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 17 Feb 2020 12:11:46 +0100 Subject: [PATCH] mu4e: Demote a few broken commands to functions It would was not possible to interactively invoke these functions because their `interactive' form does not provide all the mandatory arguments. --- mu4e/mu4e-view.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 7ade27e5..87979ed2 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -1572,7 +1572,6 @@ URLs. The urls are fetched to `mu4e-attachment-dir'." (defun mu4e~view-handle-urls (prompt multi urlfunc) "If MULTI is nil, apply URLFUNC to a single uri, otherwise, apply it to a range of uris. PROMPT is the query to present to the user." - (interactive "P") (if multi (mu4e~view-handle-multi-urls prompt urlfunc) (mu4e~view-handle-single-url prompt urlfunc))) @@ -1580,7 +1579,6 @@ it to a range of uris. PROMPT is the query to present to the user." (defun mu4e~view-handle-single-url (prompt urlfunc &optional num) "Apply URLFUNC to url NUM in the current message, prompting the user with PROMPT." - (interactive) (let* ((num (or num (mu4e~view-get-urls-num prompt))) (url (gethash num mu4e~view-link-map))) (unless url (mu4e-warn "Invalid number for URL")) @@ -1596,7 +1594,6 @@ of urls. You can type multiple values separated by space, e.g. 1 Furthermore, there is a shortcut \"a\" which means all urls, but as this is the default, you may not need it." - (interactive) (let* ((linkstr (mu4e~view-get-urls-num "URL number range (or 'a' for 'all')" t)) (count (hash-table-count mu4e~view-link-map))