org-mac-link.el: Fix malformed Safari links
commit5963b0345513398fd553c4fd5d11832243b6e49a
authorAlan Schmitt <alan.schmitt@polytechnique.org>
Wed, 15 Oct 2014 08:17:34 +0000 (15 10:17 +0200)
committerAlan Schmitt <alan.schmitt@polytechnique.org>
Wed, 15 Oct 2014 08:22:08 +0000 (15 10:22 +0200)
tree77c0bbfcf56e8dd44c4c5df1d46fee41e02f3be6
parentad0d51ff1c34dcbdd8dc408c6cea59863b0e3a28
org-mac-link.el: Fix malformed Safari links

* contrib/lisp/org-mac-link.el (org-as-mac-safari-get-frontmost-url):
Run only the AppleScript.
(org-mac-safari-get-frontmost-url): reuse
`org-mac-paste-applescript-links' to properly deal with quotes.
contrib/lisp/org-mac-link.el