summaryrefslogtreecommitdiff
path: root/dev-util/quilt/files/quilt-el-0.45.4-header-window.patch
blob: eae848e804f58c2adbc4b4d75d1c10c2784e243b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Delete window after editing is complete
Patch from flameeyes

--- a/lib/quilt.el
+++ b/lib/quilt.el
@@ -399,6 +399,7 @@
     (cd quilt-header-directory)
     (shell-command (concat "EDITOR=cat quilt -r header <" tmp))
     (kill-buffer (current-buffer))
+    (delete-window)
     (delete-file tmp)))
 
 (defvar quilt-header-mode-map (make-keymap))