Print the path for an email

This commit is contained in:
Benson Chu 2025-06-13 08:08:35 -05:00
parent 11cb27d934
commit c4be919a7d

View file

@ -165,7 +165,18 @@
(advice-add #'mu4e~headers-thread-prefix
:override
#'my/mu4e~headers-thread-prefix))
#'my/mu4e~headers-thread-prefix)
(defun mu4e-print-path ()
(interactive)
(-->
(mu4e-message-at-point)
(mu4e-message-field it :path)
(progn
(kill-new it)
(message "Path Copied: %s" it))))
(define-key mu4e-search-minor-mode-map (kbd "l") #'mu4e-print-path))
(provide 'mu4e-configuration)
;;; mu4e-config.el ends here