path: root/contrib/emacs/git-blame.el
diff options
authorDavid K├ągedal <>2010-05-25 13:44:15 (GMT)
committerJunio C Hamano <>2010-11-03 19:32:09 (GMT)
commit0cb3f80de0d464c0c8a1c2963396bfcdb00dedab (patch)
tree453ab3df3bf0ae48505af76b01fa0564e501b07a /contrib/emacs/git-blame.el
parentaf77aee9cac51c2036e6019b4aebec2049f03e6b (diff)
git-blame.el: Add (require 'format-spec)
c5022f57 (git-blame.el: Change how blame information is shown, 2009-09-29) taught the "M-x git-blame" mode to format its output in a more interesting way, making use of the format-spec function. format-spec is included in Emacs 23 and is a useful function. Older emacsen can get it from Gnus. In all emacsen, we need to 'require it before use to avoid warnings: git-blame.el:483:1:Warning: the function `format-spec' is not known to be defined. Reported-by: Sergei Organov <> Reported-by: Kevin Ryde <> Signed-off-by: Jonathan Nieder <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'contrib/emacs/git-blame.el')
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/emacs/git-blame.el b/contrib/emacs/git-blame.el
index 7f4c792..d351cfb 100644
--- a/contrib/emacs/git-blame.el
+++ b/contrib/emacs/git-blame.el
@@ -79,6 +79,7 @@
;;; Code:
(eval-when-compile (require 'cl)) ; to use `push', `pop'
+(require 'format-spec)
(defface git-blame-prefix-face
'((((background dark)) (:foreground "gray"