Compare commits
2 Commits
b9fde435a7
...
6279921553
| Author | SHA1 | Date | |
|---|---|---|---|
| 6279921553 | |||
| bd451a954a |
17
init.el
17
init.el
@ -49,12 +49,6 @@
|
||||
|
||||
;; * Packages
|
||||
|
||||
(setq package-archives
|
||||
'(("melpa" . "https://melpa.org/packages/")
|
||||
("gnu" . "https://elpa.gnu.org/packages/")
|
||||
("melpa-stable" . "https://stable.melpa.org/packages/")
|
||||
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
|
||||
|
||||
(defvar use-package-enable-imenu-support t)
|
||||
|
||||
(require 'use-package)
|
||||
@ -69,8 +63,15 @@
|
||||
use-package-compute-statistics t
|
||||
debug-on-error t))
|
||||
|
||||
(use-package package
|
||||
:init (setq package-archives
|
||||
'(("melpa" . "https://melpa.org/packages/")
|
||||
("gnu" . "https://elpa.gnu.org/packages/")
|
||||
("melpa-stable" . "https://stable.melpa.org/packages/")
|
||||
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
|
||||
:config (progn
|
||||
(add-to-list 'package-pinned-packages '(use-package . "melpa-stable"))
|
||||
(add-to-list 'package-pinned-packages '(bind-key . "melpa-stable"))
|
||||
(add-to-list 'package-pinned-packages '(bind-key . "melpa-stable"))))
|
||||
|
||||
|
||||
;; * Personal Customization Variables
|
||||
@ -1975,7 +1976,7 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||
;; tested with Outlook proper.
|
||||
|
||||
(define-advice mml-smime-epg-sign (:after (cont) add-crlf-when-pkcs7)
|
||||
"If CONT signifies encryption with smime, replace all \n with \r\n."
|
||||
"If CONT signifies encryption with smime, replace all \\n with \\r\\n."
|
||||
(when (and (eq (car cont) 'part)
|
||||
(string= "smime" (or (cdr (assq 'encrypt cont)) "")))
|
||||
(db/convert-lf-to-crlf-in-buffer)))))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user