Add magit-wanderlust.el.
This commit is contained in:
parent
aab7bc85f6
commit
3153f777d1
1 changed files with 18 additions and 0 deletions
18
magit-wanderlust.el
Normal file
18
magit-wanderlust.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; magit-wanderlust.el --- wanderlust extension for Magit
|
||||
|
||||
(require 'magit)
|
||||
|
||||
(defun magit-wl-pipe-to-am ()
|
||||
"Ask the user for a project in which to apply (via am) the
|
||||
current email in wl."
|
||||
(interactive)
|
||||
"Pipe a wanderlust message into git am."
|
||||
(let* ((proj (funcall magit-completing-read
|
||||
"Apply to project: "
|
||||
(magit-list-projects)
|
||||
nil t nil nil)))
|
||||
(wl-summary-pipe-message-subr
|
||||
nil (format "cd '%s' && git am" proj))))
|
||||
|
||||
(provide 'magit-wanderlust)
|
||||
;;; magit-wanderlust.el ends here
|
Loading…
Reference in a new issue