Compare commits

...

2 Commits

Author SHA1 Message Date
6279921553
Fix misplaced control characters in docstring
Found by flymake.
2025-03-29 17:26:21 +01:00
bd451a954a
Group package.el configuation with use-package 2025-03-29 17:24:11 +01:00

19
init.el
View File

@ -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))
(add-to-list 'package-pinned-packages '(use-package . "melpa-stable"))
(add-to-list 'package-pinned-packages '(bind-key . "melpa-stable"))
(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"))))
;; * 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)))))