Two minor fixes for vc-git
cover Two minor fixes for vc-git
I'm a total newbie when it comes to elisp, so you may want to take these with a pinch of salt. But vc-git was quite broken for me without this fix, so I guess _something_ has to be done about it ...
Signature · 2 lines
Karl Hasselström, [email protected] www.treskal.com/kalle
PATCH 1/2 ignore-errors requires cl
From: Karl Hasselström <[email protected]>
vc-git complains that it can't find the definition of ignore-errors unless I (require 'cl). So I guess the correct place to do that is in the file itself.
Signed-off-by Karl Hasselström <[email protected]>
---
contrib/emacs/vc-git.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
contrib/emacs/vc-git.el +2 -0
@@ -30,6 +30,8 @@ ;; - working with revisions other than HEAD ;; +(require 'cl) + (defvar git-commits-coding-system 'utf-8 "Default coding system for git commits.")
PATCH 2/2 Better installation instructions
In reply to Karl HasselströmFrom: Karl Hasselström <[email protected]>
Provide some more detailed installation instructions, for the elisp-challenged among us.
Signed-off-by Karl Hasselström <[email protected]>
---
contrib/emacs/vc-git.el | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
contrib/emacs/vc-git.el +4 -1
@@ -23,7 +23,10 @@ ;; system. ;; ;; To install: put this file on the load-path and add GIT to the list -;; of supported backends in `vc-handled-backends'. +;; of supported backends in `vc-handled-backends'; the following line, +;; placed in your ~/.emacs, will accomplish this: +;; +;; (add-to-list 'vc-handled-backends 'GIT) ;; ;; TODO ;; - changelog generation