diff options
-rwxr-xr-x | emacs.org | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -729,28 +729,28 @@ Create function to watch videos using ~mpv~ * PDF #+begin_src emacs-lisp - + (require 'pdf-tools) + (pdf-tools-install) ;;Add pdf-isearch-minor-mode hook, otherwise isearch will be buggy ;;Darkmode hook, cause I don't want color or light in my life, I'm a vampire. (add-hook 'pdf-view-mode-hook 'pdf-isearch-minor-mode) (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) - (add-to-list 'auto-mode-alist '("\\.pdf\\'" . #'pdf-tools-install)) + (add-to-list 'auto-mode-alist '("\\.pdf\\'" . 'pdf-view-mode)) #+end_src * mu4e ** Setting up mail #+begin_src emacs-lisp - ;; Check if we have mu4e available - ;; if t load mu4e settings + (require 'smtpmail) (when (require 'mu4e nil 'noerror) (when is-zeus (setq mu4e-update-interval (* 10 60))) (setq mu4e-get-mail-command "mbsync -a") - (defun set-mu4e-context (context-name full-name mail-address signature server) + (defun set-mu4e-context (context-name full-name mail-address signature) "Return a mu4e context named CONTEXT-NAME with :match-func matching - folder name CONTEXT-NAME in Maildir. The context's `user-mail-address', - `user-full-name' and `mu4e-compose-signature'`smtpmail-smpt-server' is set to MAIL-ADDRESS - FULL-NAME SIGNATURE and SERVER respectively. - Special folders are set to context specific folders." + folder name CONTEXT-NAME in Maildir. The context's `user-mail-address', + `user-full-name' and `mu4e-compose-signature'`smtpmail-smpt-server' is set to MAIL-ADDRESS + FULL-NAME SIGNATURE and SERVER respectively. + Special folders are set to context specific folders." (let ((dir-name (concat "/" context-name))) (make-mu4e-context :name context-name |