mu4e: Place provide forms in their own sections

Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.

Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
This commit is contained in:
Jonas Bernoulli 2020-02-11 13:26:45 +01:00 committed by Dirk-Jan C. Binnema
parent 6c58a311d1
commit 040c6578be
19 changed files with 20 additions and 10 deletions

View File

@ -383,7 +383,7 @@ the message."
nil nil nil
msgid (and (eq major-mode 'mu4e-view-mode)
(not (eq mu4e-split-view 'single-window))))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'mu4e-actions)
;;; mu4e-actions.el ends here

View File

@ -944,5 +944,6 @@ is supplied, or Transient Mark mode is enabled and the mark is active."
(define-key mu4e-compose-mode-map
(vector 'remap 'end-of-buffer) 'mu4e-compose-goto-bottom)
;;; _
(provide 'mu4e-compose)
;;; mu4e-compose.el ends here

View File

@ -280,5 +280,6 @@ match, POLICY determines what to do:
(mu4e~context-ask-user "Select context: ")))
(otherwise nil))))))
;;; _
(provide 'mu4e-context)
;;; mu4e-context.el ends here

View File

@ -216,7 +216,7 @@ buffers found, compose a new message and then attach the file."
(setq files-to-attach (cdr files-to-attach)))
(message "Attached file(s) %s" files-str))
(message "No buffer to attach file to.")))))
;;; end of eshell functions
;;; _
(provide 'mu4e-contrib)
;;; mu4e-contrib.el ends here

View File

@ -602,6 +602,6 @@ will be created from either `mu4e~draft-reply-construct', or
(unless mu4e~draft-drafts-folder
(mu4e-error "Failed to determine drafts folder"))))
;;; _
(provide 'mu4e-draft)
;;; mu4e-draft.el ends here

View File

@ -1892,6 +1892,6 @@ other windows."
(kill-buffer)
(mu4e~main-view))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'mu4e-headers)
;;; mu4e-headers.el ends here

View File

@ -184,6 +184,6 @@ given in the doc of `gnus-icalendar-event-reply-from-buffer'."
(insert beg-date " " end-time " End of: " txt "\n"))
(write-region (point-min) (point-max) filename t))))
;;; _
(provide 'mu4e-icalendar)
;;; mu4e-icalendar.el ends here

View File

@ -97,5 +97,6 @@ be used as the shortname."
:group 'mu4e-headers
:type '(repeat (regexp)))
;;; _
(provide 'mu4e-lists)
;;; mu4e-lists.el ends here

View File

@ -287,5 +287,6 @@ clicked."
(sit-for 1)
(mu4e~main-menu))))))
;;; _
(provide 'mu4e-main)
;;; mu4e-main.el ends here

View File

@ -459,5 +459,6 @@ action', return nil means 'don't do anything'."
(when (eq what 'apply)
(mu4e-mark-execute-all t))))))
;;; _
(provide 'mu4e-mark)
;;; mu4e-mark.el ends here

View File

@ -344,5 +344,6 @@ Emacs. Based on code by Titus von der Malsburg."
(call-process-shell-command mu4e-html2text-command tmp-file t t)
(delete-file tmp-file))) msg))
;;; _
(provide 'mu4e-message)
;;; mu4e-message.el ends here

View File

@ -151,6 +151,7 @@ it with org)."
(org-capture))
(make-obsolete 'org-mu4e-store-and-capture 'org-mu4e-store-and-capture "1.3.6")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'mu4e-org)
;;; mu4e-org.el ends here

View File

@ -488,5 +488,6 @@ result will be delivered to the function registered as
:extract-images ,images
:extract-encrypted ,decrypt)))
;;; _
(provide 'mu4e-proc)
;;; mu4e-proc.el ends here

View File

@ -129,5 +129,6 @@
(defun mu4e-headers-speedbar-buttons (buffer) (mu4e-speedbar-buttons buffer))
(defun mu4e-view-speedbar-buttons (buffer) (mu4e-speedbar-buttons buffer))
;;; _
(provide 'mu4e-speedbar)
;;; mu4e-speedbar.el ends here

View File

@ -1249,5 +1249,6 @@ string will be shortened to fit if its length exceeds
(push (buffer-name buffer) buffers))))
(nreverse buffers)))
;;; _
(provide 'mu4e-utils)
;;; mu4e-utils.el ends here

View File

@ -1021,8 +1021,7 @@ sexp received from the server process.")
(defvar mu4e-temp-func 'mu4e~view-temp-handler
"A function called for each (:temp <file> <cookie>) sexp.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'mu4e-vars)
;;; mu4e-vars.el ends here

View File

@ -1704,5 +1704,6 @@ other windows."
(when (buffer-live-p (mu4e-get-headers-buffer))
(switch-to-buffer (mu4e-get-headers-buffer))))))))
;;; _
(provide 'mu4e-view)
;;; mu4e-view.el ends here

View File

@ -63,7 +63,7 @@ window, unless BACKGROUND (prefix-argument) is non-nil."
(when (y-or-n-p (mu4e-format "Are you sure you want to quit?"))
(mu4e~stop))
(mu4e~stop)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'mu4e)
;;; mu4e.el ends here

View File

@ -225,6 +225,6 @@ Edit the message body using org mode. DEPRECATED."
(mu4e-compose-mode)
(message "org-mu4e-compose-org-mode disabled"))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; _
(provide 'org-mu4e)
;;; org-mu4e.el ends here