mirror of
https://github.com/djcb/mu.git
synced 2024-06-27 07:35:16 +02:00
Placing two semicolons on an otherwise empty line helps to logically "connect" the surrounding "paragraphs", which in (only) some cases makes sense. Previously the three paragraphs of the permission statement were not connected to each other like this, which is perfectly fine. However the preceding "This file is not part of GNU Emacs." line was connected to the first paragraph, which does not make sense considering that the latter is not connected two the second paragraph, which it relates to more. Once those two semicolons are gone, it also makes sense to remove those from the second line.
71 lines
2.4 KiB
EmacsLisp
71 lines
2.4 KiB
EmacsLisp
;;; mu4e.el --- part of mu4e, the mu mail user agent -*- lexical-binding: t -*-
|
||
|
||
;; Copyright (C) 2011-2019 Dirk-Jan C. Binnema
|
||
|
||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||
;; Keywords: email
|
||
;; Version: 0.0
|
||
|
||
;; This file is not part of GNU Emacs.
|
||
|
||
;; GNU Emacs is free software: you can redistribute it and/or modify
|
||
;; it under the terms of the GNU General Public License as published by
|
||
;; the Free Software Foundation, either version 3 of the License, or
|
||
;; (at your option) any later version.
|
||
|
||
;; GNU Emacs is distributed in the hope that it will be useful,
|
||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
;; GNU General Public License for more details.
|
||
|
||
;; You should have received a copy of the GNU General Public License
|
||
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||
|
||
;;; Commentary:
|
||
|
||
;;; Code:
|
||
(require 'mu4e-vars)
|
||
(require 'mu4e-headers) ;; headers view
|
||
(require 'mu4e-view) ;; message view
|
||
(require 'mu4e-main) ;; main screen
|
||
(require 'mu4e-compose) ;; message composition / sending
|
||
(require 'mu4e-proc) ;; communication with backend
|
||
(require 'mu4e-utils) ;; utility functions
|
||
(require 'mu4e-context) ;; support for contexts
|
||
|
||
(when mu4e-speedbar-support
|
||
(require 'mu4e-speedbar)) ;; support for speedbar
|
||
(when mu4e-org-support
|
||
(require 'mu4e-org)) ;; support for org-mode links
|
||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
;; we can't properly use compose buffers that are revived using
|
||
;; desktop-save-mode; so let's turn that off
|
||
(require 'desktop)
|
||
(add-to-list 'desktop-modes-not-to-save 'mu4e-compose-mode)
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
;;;###autoload
|
||
(defun mu4e (&optional background)
|
||
"If mu4e is not running yet, start it. Then, show the main
|
||
window, unless BACKGROUND (prefix-argument) is non-nil."
|
||
(interactive "P")
|
||
;; start mu4e, then show the main view
|
||
(mu4e~start (unless background 'mu4e~main-view)))
|
||
|
||
(defun mu4e-quit()
|
||
"Quit the mu4e session."
|
||
(interactive)
|
||
(if mu4e-confirm-quit
|
||
(when (y-or-n-p (mu4e-format "Are you sure you want to quit?"))
|
||
(mu4e~stop))
|
||
(mu4e~stop)))
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
||
(provide 'mu4e)
|
||
|
||
;;; mu4e.el ends here
|