commit
a2f955e0ad
3 changed files with 4 additions and 4 deletions
|
@ -260,7 +260,7 @@ If you have completely lost your install then you can use this handy command!
|
||||||
|
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
find / -type d -iname '*mu4e*'
|
find / -type d -iname '*mu4e*'
|
||||||
# I reccomend rerouting all of the error to /dev/null
|
# I recommend rerouting all of the errors to /dev/null
|
||||||
find / -type d -iname '*mu4e*' 2> /dev/null
|
find / -type d -iname '*mu4e*' 2> /dev/null
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
(insert-file-contents +mu4e-lock-file)
|
(insert-file-contents +mu4e-lock-file)
|
||||||
(buffer-string))))
|
(buffer-string))))
|
||||||
(process (process-attributes pid)))
|
(process (process-attributes pid)))
|
||||||
(if (and process (string-match-p "emacs" (alist-get 'args process)))
|
(if (and process (string-match-p "[Ee]macs" (alist-get 'comm process)))
|
||||||
(cons pid process)
|
(cons pid process)
|
||||||
(delete-file +mu4e-lock-file) nil))))
|
(delete-file +mu4e-lock-file) nil))))
|
||||||
|
|
||||||
|
|
|
@ -282,11 +282,11 @@ Usefull for affecting HTML export config.")
|
||||||
(+mu4e-compose-org-msg-handle-toggle (/= 1 (or toggle-p 0)))
|
(+mu4e-compose-org-msg-handle-toggle (/= 1 (or toggle-p 0)))
|
||||||
(funcall orig-fn))
|
(funcall orig-fn))
|
||||||
|
|
||||||
(defadvice! +mu4e-draft-open-signature-a (orig-fn compose-type &optional msg)
|
(defadvice! +mu4e-draft-open-signature-a (orig-fn &rest args)
|
||||||
"Prevent `mu4e-compose-signature' from being used with `org-msg-mode'."
|
"Prevent `mu4e-compose-signature' from being used with `org-msg-mode'."
|
||||||
:around #'mu4e-draft-open
|
:around #'mu4e-draft-open
|
||||||
(let ((mu4e-compose-signature (unless org-msg-mode mu4e-compose-signature)))
|
(let ((mu4e-compose-signature (unless org-msg-mode mu4e-compose-signature)))
|
||||||
(funcall orig-fn compose-type msg)))
|
(apply orig-fn args)))
|
||||||
|
|
||||||
(map! :map org-msg-edit-mode-map
|
(map! :map org-msg-edit-mode-map
|
||||||
"TAB" #'org-msg-tab) ; only <tab> bound by default
|
"TAB" #'org-msg-tab) ; only <tab> bound by default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue