all repos — nixfiles @ e89fe851d0d5093f6fcd236bc7046524b7086b7e

System and user configuration, managed by nix and home-manager

Emacs: fix deprecation warning
Alan Pearce alan@alanpearce.eu
Tue, 06 Aug 2019 15:34:06 +0200
commit

e89fe851d0d5093f6fcd236bc7046524b7086b7e

parent

2798407c65bdc3512a93e18e30ecd1f461b5c4fb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -674,7 +674,7 @@ :match-func (lambda (msg)                                                 (if msg
                                                     (mu4e-message-contact-field-matches
                                                      msg :to "alan@satoshipay.io")
-                                                  (string-equal system-name "satoshipad")))
+                                                  (string-equal (system-name) "satoshipad")))
                                   :vars '((user-mail-address . "alan@satoshipay.io")
                                           (mu4e-sent-messages-behavior . 'delete)
                                           (mu4e-drafts-folder . "/satoshipay/Drafts")