From 89bb96c3048c09cfdb62c07d6e4537f7cfb9d618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellis=20Keny=C5=91?= Date: Sun, 1 Aug 2021 19:54:35 +0100 Subject: [PATCH] fix(mu4e): allow mu4e to be started early mu4e complains about missing file-notify-*-watch functions if loaded too early. Close #5327 --- modules/email/mu4e/autoload/mu-lock.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/email/mu4e/autoload/mu-lock.el b/modules/email/mu4e/autoload/mu-lock.el index f0b0bc673..118b7d785 100644 --- a/modules/email/mu4e/autoload/mu-lock.el +++ b/modules/email/mu4e/autoload/mu-lock.el @@ -1,4 +1,6 @@ ;;; email/mu4e/autoload/mu-lock.el -*- lexical-binding: t; -*- +;;;###autoload (autoload 'file-notify-rm-watch "filenotify") +;;;###autoload (autoload 'file-notify-add-watch "filenotify") (defvar +mu4e-lock-file (expand-file-name "mu4e_lock" temporary-file-directory) "Location of the lock file which stores the PID of the process currenty running mu4e")