mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Print the path for an email
This commit is contained in:
parent
11cb27d934
commit
c4be919a7d
1 changed files with 12 additions and 1 deletions
|
|
@ -165,7 +165,18 @@
|
||||||
|
|
||||||
(advice-add #'mu4e~headers-thread-prefix
|
(advice-add #'mu4e~headers-thread-prefix
|
||||||
:override
|
: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)
|
(provide 'mu4e-configuration)
|
||||||
;;; mu4e-config.el ends here
|
;;; mu4e-config.el ends here
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue