Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel - a4556632b0
Remove advice for moving message attachments to the end of buffer
This is configurable since Emacs 29.1.
2023-10-01 15:39:02 +02:00
Daniel - cfdd235f94
Set multisession directory before loading package
This allows to overwrite this default via customize.
2023-10-01 15:36:45 +02:00
1 changed files with 2 additions and 15 deletions

17
init.el
View File

@ -497,7 +497,7 @@
(advice-add 'grep-read-files :around #'db/grep-read-files)))
(use-package multisession
:config (setq multisession-directory (expand-file-name "multisession/" emacs-d)))
:init (setq multisession-directory (expand-file-name "multisession/" emacs-d)))
(use-package proced
:custom ((proced-tree-flag t)
@ -1815,20 +1815,7 @@ point to the beginning of buffer first."
;; MIME creation; signing, and encryption
(use-package mml
:config (progn
;; Move to end of message buffer before attaching a file
;; http://mbork.pl/2015-11-28_Fixing_mml-attach-file_using_advice
(define-advice mml-attach-file (:around
(orig-fun &rest args)
go-to-eob)
"Go to the end of buffer before attaching files."
(save-excursion
(save-restriction
(widen)
(goto-char (point-max))
(apply orig-fun args))))))
(setq mml-attach-file-at-the-end t)
(use-package mm-encode
:init (setq mm-encrypt-option nil