summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-02-10 22:26:17 +0200
committerThanos Apollo <[email protected]>2023-02-10 22:26:17 +0200
commitbdb3c223281920d03e021f9f233cb4e01adfad7e (patch)
tree14681e893114ec214d2365906b3b16fa0263d763
parent83676f60a5bf141f2ec3a48a86b57354972a8d5e (diff)
emacs: Add noerror when mu4e nil
-rw-r--r--.emacs.d/emacs.org2
-rw-r--r--.emacs.d/init.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org
index 298a38f..2b399b5 100644
--- a/.emacs.d/emacs.org
+++ b/.emacs.d/emacs.org
@@ -1052,7 +1052,7 @@ In macOS, I have installed it through homebrew.
:load-path "/opt/homebrew/share/emacs/site-lisp/mu/mu4e/"))
;; Check if we have mu4e available
;; if t load mu4e settings
- (when (require 'mu4e t)
+ (when (require 'mu4e nil 'noerror)
(setq mu4e-update-interval (* 10 60))
(setq mu4e-get-mail-command "mbsync -a")
(setq mu4e-maildir-list "~/Mail/Inbox")
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 5cea6f4..2245c0a 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -901,7 +901,7 @@ you have the correctly set the OPENAI_API_KEY variable"
:load-path "/opt/homebrew/share/emacs/site-lisp/mu/mu4e/"))
;; Check if we have mu4e available
;; if t load mu4e settings
-(when (require 'mu4e t)
+(when (require 'mu4e nil 'noerror)
(setq mu4e-update-interval (* 10 60))
(setq mu4e-get-mail-command "mbsync -a")
(setq mu4e-maildir-list "~/Mail/Inbox")