David Maus <dm...@ictsoc.de> writes: > Markus Heller wrote: > >>I've finally started to use git for my .org-files, and I'm still very >>new to git. But ever since I initialized the repository, emacs loads >>vc-git, which apparently is bundled with emacs. My suspicion was that >>all those ID locations are in fact related to vc-git, and upon disabling >>vc-git by putting > >>(setq vc-handled-backends nil) > > In case you are going to need vc you can use this hack to disable vc > for Org mode agenda files: > > (add-hook 'find-file-hook 'dmj/disable-vc-for-agenda-files-hook) > (defun dmj/disable-vc-for-agenda-files-hook () > "Disable vc-mode for Org agenda files." > (if (and (fboundp 'org-agenda-file-p) > (org-agenda-file-p (buffer-file-name))) > (remove-hook 'find-file-hook 'vc-find-file-hook) > (add-hook 'find-file-hook 'vc-find-file-hook)))
Thanks David, for now, I don't need vc, but I'll keep your hack in mind. Cheers Markus > HTH, > -- David > > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmj...@jabber.org > Email..... dm...@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode