mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
Erase buffer before burying it, so that we erase the right one.
This commit is contained in:
parent
0450e43221
commit
9d5a94d22e
1 changed files with 1 additions and 1 deletions
|
@ -372,9 +372,9 @@
|
|||
(defun gits-log-edit-commit ()
|
||||
(interactive)
|
||||
(write-region (point-min) (point-max) ".git/gits-log")
|
||||
(erase-buffer)
|
||||
(gits-run "git-commit" "-F" ".git/gits-log")
|
||||
(bury-buffer)
|
||||
(erase-buffer)
|
||||
(when gits-pre-log-edit-window-configuration
|
||||
(set-window-configuration gits-pre-log-edit-window-configuration)
|
||||
(setq gits-pre-log-edit-window-configuration nil)))
|
||||
|
|
Loading…
Reference in a new issue