Hi Daniel,

Daniel E. Doherty wrote:

>Hello all,

>I noticed when I upgraded org from 6.21 (which comes with Emacs) to the
>git version (6.34trans), org-store-link stopped working.  When I try to
>store a link from dired, I get a stringp nil error, with this debugger
>output:

It's a small glitch in `org-git-store-link': Orgmode calls all
registered store-link functions to see if one declares itself of being
responsible for the particular file or buffer.  `org-git-store-link'
tries to make an assumption on whether the file that is currently
visited is inside a git repository w/o taking into consideration that
there are buffers that are not associated with a file -- like a dired
buffer.

Attached patch fixes this.

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmj...@jabber.org
Email..... maus.da...@gmail.com

Attachment: 0001-Avoid-trying-to-run-org-git-store-link-on-buffers-th.patch
Description: Binary data

Attachment: pgpu4PFbRsAMK.pgp
Description: PGP signature

_______________________________________________
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

Reply via email to