* vc.el vc-annotate-backend
@ 2005-12-27 21:24 Jhair Tocancipa Triana
2005-12-28 18:47 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Jhair Tocancipa Triana @ 2005-12-27 21:24 UTC (permalink / raw)
Hi,
Since revision 1.408 of vc.el, the vc-annotate command triggers the
following error.
,----[ C-x v g ]
| Debugger entered--Lisp error: (file-error "Cannot open load file" "vc-nil")
| require(vc-nil)
| vc-find-backend-function(nil annotate-command)
| vc-annotate("/home/jtocancipa/local/src/emacs/src/dispnew.c" "1.358" nil)
| call-interactively(vc-annotate)
`----
I can make it work with the following change, hopefully it is correct:
--- vc.el 25 Dec 2005 15:35:06 +0100 1.409
+++ vc.el 25 Dec 2005 16:09:26 +0100
@@ -3092,6 +3092,7 @@
(setq vc-annotate-display-mode display-mode) ;Not sure why. --Stef
(let* ((temp-buffer-name (format "*Annotate %s (rev %s)*" (buffer-name) rev))
(temp-buffer-show-function 'vc-annotate-display-select))
+ (setq vc-annotate-backend (vc-backend buffer-file-name))
(message "Annotating...")
;; If BUF is specified it tells in which buffer we should put the
;; annotations. This is used when switching annotations to another
--
--Jhair
PGP key available from public servers - ID: 0xBAA600D0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: vc.el vc-annotate-backend
2005-12-27 21:24 vc.el vc-annotate-backend Jhair Tocancipa Triana
@ 2005-12-28 18:47 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2005-12-28 18:47 UTC (permalink / raw)
Cc: emacs-devel
> Since revision 1.408 of vc.el, the vc-annotate command triggers the
> following error.
> ,----[ C-x v g ]
> | Debugger entered--Lisp error: (file-error "Cannot open load file" "vc-nil")
> | require(vc-nil)
> | vc-find-backend-function(nil annotate-command)
> | vc-annotate("/home/jtocancipa/local/src/emacs/src/dispnew.c" "1.358" nil)
> | call-interactively(vc-annotate)
> `----
Sorry, I left an obsolete piece of code that now burps. Should be fixed now.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-28 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-27 21:24 vc.el vc-annotate-backend Jhair Tocancipa Triana
2005-12-28 18:47 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).