git-blame.el: Add (require 'format-spec)
authorDavid Kågedal <redacted>
Tue, 25 May 2010 13:44:15 +0000 (15:44 +0200)
committerJunio C Hamano <redacted>
Wed, 3 Nov 2010 19:32:09 +0000 (12:32 -0700)
commit0cb3f80de0d464c0c8a1c2963396bfcdb00dedab
tree453ab3df3bf0ae48505af76b01fa0564e501b07a
parentaf77aee9cac51c2036e6019b4aebec2049f03e6b
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 <redacted>
Reported-by: Kevin Ryde <redacted>
Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/emacs/git-blame.el
git clone https://git.99rst.org/PROJECT