Skip to content

Commit

Permalink
moved hook to the final part of terminator-open-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Ezequiel Gallina committed Nov 29, 2009
1 parent 4684fdc commit 13dd7a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terminator.el
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ HSPLIT and VSPLIT."
(term-number 0)
(cterminal))
(subdivide-frame width height)
(when (functionp hook)
(funcall hook))
(dotimes (i height)
(dotimes (j width)
(setq term-number (+ 1 term-number))
Expand All @@ -187,7 +185,9 @@ HSPLIT and VSPLIT."
(subdivide-windmove 'left width)
(subdivide-windmove 'down))
(subdivide-windmove 'left width)
(subdivide-windmove 'up height))
(subdivide-windmove 'up height)
(when (functionp hook)
(funcall hook)))
(message (format "Template %s does not exist" template))))


Expand Down

0 comments on commit 13dd7a0

Please sign in to comment.