[Emacs] Remove obsolete variable, favor csetq to setq

This commit is contained in:
Lucien Cartier-Tilet 2022-07-05 15:44:23 +02:00
parent 4a980af18d
commit a494188cfa
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1656,14 +1656,13 @@ configuration for the ~mu4e~ package itself.
:straight (:build t :location site)
:commands mu4e mu4e-compose-new
:init
(setq mu4e-completing-read-function 'completing-read
mu4e-use-fancy-chars t
mu4e-view-show-images t
message-kill-buffer-on-exit t
mu4e-org-support nil)
(let ((dir "~/Downloads/mu4e"))
(csetq mu4e-completing-read-function 'completing-read
mu4e-use-fancy-chars t
message-kill-buffer-on-exit t
mu4e-org-support nil)
(let ((dir (concat (getenv "HOME") "/Downloads/mu4e")))
(when (file-directory-p dir)
(setq mu4e-attachment-dir dir)))
(csetq mu4e-attachment-dir dir)))
(defmacro mu4e-view-mode--prepare ()
`(lambda () (visual-line-mode 1)))
:gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare))