Abbreviate absolute file names in links.
commita80b84425b6127d0a4b8b28df645c102e5aadcc5
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 4 Nov 2008 08:43:58 +0000 (4 09:43 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 4 Nov 2008 08:43:58 +0000 (4 09:43 +0100)
treec765661fe3c01b3865c6bf86bbe46797a9bf9d59
parent5fea9b1e428da3fcfc06dd2d13d048a0449e2e35
Abbreviate absolute file names in links.

This is a bug fix.  When the option `org-link-file-path-type' has the
value `adaptive', absolute file names would not be abbreviated if they
are relative to the users home directory.  For any other values of
this variable except `noabbrev', absolute links are in fact
abbreviated, so the previous behavior is an inconsistency,
as noticed by Matt Lundin.

This patch fixes this problem and makes sure that also in this case,
file names are abbreviated.

Finally, the patch also fixes a structural bug that would ignore
the double C-u prefix if it was given.
lisp/ChangeLog
lisp/org.el