* org-src.el (org-src-edit-buffer-p): New function. * org.el (org-store-link): Use the new function to correctly match source code buffer. TINYCHANGE Thanks to Ilya Shlyakhter for this patch.