-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
John Kitchin writes:
> On Tue, May 19, 2020 at 6:51 PM stardiviner wrote:
>
>> I actually borrowed code from your code example, Because I want to do the
>> following:
>>
>
> Where did you find code that uses org-element-property on a link like
On Tue, May 19, 2020 at 6:51 PM stardiviner wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
>
> John Kitchin writes:
>
> > The face function only takes the link path, which is a string. you cannot
> > use org-element-property on it.
> >
> > Maybe you want something like this:
> >
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
John Kitchin writes:
> The face function only takes the link path, which is a string. you cannot
> use org-element-property on it.
>
> Maybe you want something like this:
>
> #+begin_src emacs-lisp
> (defun org-link-beautify-face (path)
> "Set
The face function only takes the link path, which is a string. you cannot
use org-element-property on it.
Maybe you want something like this:
#+begin_src emacs-lisp
(defun org-link-beautify-face (path)
"Set link face colors."
(message "beautifying")
(if (and (not (file-remote-p path))