Rainer M Krug <r.m.k...@gmail.com> wrote: > But now I thought - OK - now I can add the state of the file, returned > by vc-state (this is working i a nother document in the org-document). > So I added: > > %(vc-state (buffer-file-name (org-capture-get :original-buffer))) > > but I get the error > > Capture abort: (wrong-type-argument char-or-string-p edited) > > It seems, that vc-state (which should be "up-to-date" or "edited") does > return a different type then vc-working-revision ? Can I convert > vc-state, so that it works? >
Yes, vc-state returns a symbol. You can convert it to a string with symbol-name. Nick _______________________________________________ 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