Skip to content

Commit 0cb3f80

Browse files
dkagedalgitster
authored andcommitted
git-blame.el: Add (require 'format-spec)
c5022f5 (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 <[email protected]> Reported-by: Kevin Ryde <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af77aee commit 0cb3f80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/emacs/git-blame.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
;;; Code:
8080

8181
(eval-when-compile (require 'cl)) ; to use `push', `pop'
82+
(require 'format-spec)
8283

8384
(defface git-blame-prefix-face
8485
'((((background dark)) (:foreground "gray"

0 commit comments

Comments
 (0)