On 2014-12-14 11:55, Jonas Bernoulli <[email protected]> writes:

> Alan Schmitt <[email protected]> writes:
>
>> Is there a way to configure magit such that frames to write the commit
>> message are deleted when the commit is done?
>
> No, there is no builtin support for something like this.  You could
> probably implement this using some Magit hooks and Emacs options
> concerned with this sort of thing, but it probably won't be trivial
> to do.  In any case if you attempt to do this, I strongly recomment
> you base your work on the next branch.

This is what I ended up doing:

#+begin_src emacs-lisp
(eval-after-load "magit" '(add-to-list 'git-commit-kill-buffer-hook 
#'delete-window))
#+end_src

It sometimes leave the main magit frame in place when I quit magit, but
managing a single window is fine.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to