diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2022-07-31 11:39:38 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2022-07-31 11:40:14 +0200 |
| commit | d2c76c074f67bba8b975c2bff6e817fa2f2ab2a7 (patch) | |
| tree | db07057eaaf2e25ad2c15693baa7181ecffb01ba /.doom.d/config.el | |
| parent | 28b3e5ecb72bd19f329ba526ba6064a0231cf6bc (diff) | |
| download | dotfiles-d2c76c074f67bba8b975c2bff6e817fa2f2ab2a7.tar.gz dotfiles-d2c76c074f67bba8b975c2bff6e817fa2f2ab2a7.zip | |
emacs: beware the new backup location
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.doom.d/config.el')
| -rw-r--r-- | .doom.d/config.el | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el index 1150ec4..77ab01f 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -2,6 +2,9 @@ ;;; Basic information. +(defconst mssola-backup-dir "/home/backup" + "Directory located in a big partition where I dump a lot of crap.") + ;; There are some packages that expect us to have a `user-full-name' and a ;; `user-mail-address' defined. (setq user-full-name "Miquel Sabaté Solà" @@ -221,6 +224,12 @@ littering will happen locally." :query "maildir:/gmail/inbox OR maildir:/comsuse/inbox OR maildir:/desuse/inbox OR maildir:/ajuntament/inbox OR maildir:/sindicat/inbox OR maildir:/uoc/inbox" :key ?n)) + ;; Things to look for when acting as a cootw. + (add-to-list 'mu4e-bookmarks + '(:name "COOTW" + :query "to:scc-feedback@suse.de" + :key ?c)) + ;; General mu4e settings. (setq message-kill-buffer-on-exit t mu4e-update-interval 600 @@ -340,8 +349,8 @@ littering will happen locally." (mapc (lambda (f) (unless (file-directory-p f) (delete-file f))) - (directory-files (concat (file-name-as-directory (getenv "HOME")) - ".mail/ajuntament/inbox/new") + (directory-files (concat (file-name-as-directory mssola-backup-dir) + "mail/ajuntament/inbox/new") t))) ;; This is the only hook that `mu4e' allows us to actually do something around |
