summaryrefslogtreecommitdiff
path: root/mu4e
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-12-09 20:39:27 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-12-09 18:27:28 +0200
commit18fe56a742981a1ed7c2df3a723e6bb41fde73a4 (patch)
treebf0477913f259564ec27a8e061f2042306546ad7 /mu4e
parentd8d5e4cca54891e46eef124f3b559e2a878ce74a (diff)
mu4e-view: cosmetics
Diffstat (limited to 'mu4e')
-rw-r--r--mu4e/mu4e-view.el14
1 files changed, 4 insertions, 10 deletions
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el
index 4f719d3..e366b67 100644
--- a/mu4e/mu4e-view.el
+++ b/mu4e/mu4e-view.el
@@ -183,11 +183,9 @@ previous header."
(mu4e~headers-move (- (or n 1)))))
(defun mu4e--view-prev-or-next (func backwards)
- "Move point to the next or previous message.
-Go to the previous message if BACKWARDS is non-nil.
-unread message header in the headers buffer connected with this
-message view. If this succeeds, return the new docid. Otherwise,
-return nil."
+ "Move point to the next or previous message and invoke FUNC.
+Go to the previous message if BACKWARDS is non-nil. If this
+succeeds, return the new docid. Otherwise, return nil."
(mu4e--view-in-headers-context (funcall func backwards))
(mu4e-select-other-view)
(mu4e-headers-view-message))
@@ -231,7 +229,6 @@ If this succeeds, return the new docid. Otherwise, return nil."
(interactive)
(mu4e--view-in-headers-context (mu4e-thread-fold-toggle-all)))
-
;;; Interactive functions
(defun mu4e-view-action (&optional msg)
"Ask user for some action to apply on MSG, then do it.
@@ -1018,7 +1015,7 @@ This is useful for advising some Gnus-functionality that does not work in mu4e."
"Keymap for mu4e-view mode.")
(easy-menu-define mu4e-view-mode-menu
- mu4e-view-mode-map "Menu for mu4e's view-mode."
+ mu4e-view-mode-map "Menu for mu4e's view mode."
(append
'("View"
"--"
@@ -1109,7 +1106,6 @@ Article Treatment' for more options."
(interactive)
(funcall (mu4e-read-option "Massage: " mu4e-view-massage-options)))
-
(defun mu4e-view-toggle-html ()
"Toggle html-display of the first html-part found."
(interactive)
@@ -1128,7 +1124,6 @@ Article Treatment' for more options."
gnus-article-mime-handle-alist)))
(gnus-article-inline-part (car html-part))
(mu4e-warn "Cannot switch; no html and/or text part in this message"))))
-
;;; Bug Reference mode support
;; Due to mu4e's view buffer handling (mu4e-view-mode is called long before the
@@ -1169,6 +1164,5 @@ GROUP-REGEXP and each header value against HEADER-REGEXP in
(add-hook 'bug-reference-auto-setup-functions
#'mu4e--view-try-setup-bug-reference-mode))
-
(provide 'mu4e-view)
;;; mu4e-view.el ends here