tweak(mu4e): autoload +mu4e-lock-available
+mu4e-lock-available seems like a potential entry-point to the mu-lock functionality, e.g. on startup check if another Emacs process has mu4e active, and so it might as well be turned into an autoload.
This commit is contained in:
parent
4d9ea6853b
commit
f6bddc8fe2
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
(cons pid process)
|
(cons pid process)
|
||||||
(delete-file +mu4e-lock-file) nil))))
|
(delete-file +mu4e-lock-file) nil))))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun +mu4e-lock-available (&optional strict)
|
(defun +mu4e-lock-available (&optional strict)
|
||||||
"If the `+mu4e-lock-file' is available (unset or owned by this emacs) return t.
|
"If the `+mu4e-lock-file' is available (unset or owned by this emacs) return t.
|
||||||
If STRICT only accept an unset lock file."
|
If STRICT only accept an unset lock file."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue