Browse files

rename magit-insert-{ => stgit-}series

Looking at the name should be enough to know this is from an extension.
  • Loading branch information...
1 parent 3a38992 commit 0b6f8cfb8ae551d8187eddf6c5b19cbc1ffcdb4b @tarsius tarsius committed Sep 22, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 magit-stgit.el
@@ -177,7 +177,7 @@
(let ((magit-old-top-section nil))
(magit-wash-sequence #'magit-stgit--wash-patch)))
-(magit-define-inserter series ()
+(magit-define-inserter stgit-series ()
(when (executable-find magit-stgit-executable)
(magit-insert-section 'series
"Series:" 'magit-stgit--wash-series
@@ -284,8 +284,8 @@ into the series."
(or (derived-mode-p 'magit-mode)
(error "This mode only makes sense with magit"))
(if magit-stgit-mode
- (add-hook 'magit-after-insert-stashes-hook 'magit-insert-series nil t)
- (remove-hook 'magit-after-insert-stashes-hook 'magit-insert-series t))
+ (add-hook 'magit-after-insert-stashes-hook 'magit-insert-stgit-series nil t)
+ (remove-hook 'magit-after-insert-stashes-hook 'magit-insert-stgit-series t))
(when (called-interactively-p 'any)

0 comments on commit 0b6f8cf

Please sign in to comment.