org-bbdb-export: use a better description.
commit740afd558daaaa90799fb0f645a27980d03ce018
authorChristian Moe <mail@christianmoe.com>
Tue, 15 Feb 2011 04:37:17 +0000 (15 05:37 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 15 Feb 2011 04:37:17 +0000 (15 05:37 +0100)
tree13cb79e04e3ce8dff2097f026fcf4c75b09c77a4
parent8ee7408edb111c579b719fc42edf2f40dab5dc10
org-bbdb-export: use a better description.

* org-bbdb.el (org-bbdb-export): When a link description has been
added by org-export-normalize-links, use path instead (remove the
`bbdb:' prefix).

The existing code handled the case where desc is nil. However, this no
longer occurs, since org-export-normalize-links now automatically adds
a desc to links, with a `bbdb:' prefix that would not usually be
wanted in exported text. The patch results in the same output as
originally intended.

TINYCHANGE
lisp/org-bbdb.el