org.el: Remove `org-link-display-descriptive' and use `org-descriptive-links'.
commit7475d7da1fcc73e9c619b2d620d370c9f54867c9
authorBastien Guerry <bzg@altern.org>
Tue, 23 Aug 2011 14:55:48 +0000 (23 16:55 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 23 Aug 2011 14:55:48 +0000 (23 16:55 +0200)
tree6c9a302b5fc888ab102585ad77cf46de80bd81eb
parentf893659b272ef80c1da8c0420d55b6237a4c3f00
org.el: Remove `org-link-display-descriptive' and use `org-descriptive-links'.

* org.el (org-link-display-descriptive): Remove this option
and rely on the existing `org-descriptive-links' instead.
(org-toggle-link-display): Use `org-descriptive-links'.

Without this change, both options are redundant.  This also
fixes a bug about using `org-descriptive-links' in the `org-mode'
function, that initialize the display using `org-descriptive-links'
instead of `org-link-display-descriptive'.

Thanks to Thomas S. Dye for spotting this.
lisp/org.el