diff options
author | Bastien Guerry <bzg@altern.org> | 2013-12-22 09:19:21 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-12-22 09:19:21 +0100 |
commit | 060e6eff06c93e567e623ed49b15886591f36abf (patch) | |
tree | ca95ee1f1e1bcaa975227bf7d9b1f2c7550daa0d | |
parent | 387e9c303e9594c90cca35d99bfd1d59f7e543ec (diff) | |
parent | 22af33a015ad4cd6e9ec7330c2d04131cb774aa8 (diff) | |
download | org-mode-060e6eff06c93e567e623ed49b15886591f36abf.tar.gz |
Merge branch 'maint'
-rw-r--r-- | contrib/lisp/org-mac-link.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/lisp/org-mac-link.el b/contrib/lisp/org-mac-link.el index d348c2d..a89847f 100644 --- a/contrib/lisp/org-mac-link.el +++ b/contrib/lisp/org-mac-link.el @@ -3,13 +3,13 @@ ;; ;; Copyright (c) 2010-2013 Free Software Foundation, Inc. ;; -;; Authors: +;; Authors: ;; Anthony Lander <anthony.lander@gmail.com> ;; John Wiegley <johnw@gnu.org> ;; Christopher Suckling <suckling at gmail dot com> ;; Daniil Frumin <difrumin@gmail.com> ;; -;; +;; ;; Version: 1.1 ;; Keywords: org, mac, hyperlink ;; @@ -201,14 +201,14 @@ applications and inserting them in org documents" ("S" "kim" org-mac-skim-insert-page ,org-mac-grab-Skim-app-p))) (menu-string (make-string 0 ?x)) input) - + ;; Create the menu string for the keymap (mapc '(lambda (descriptor) (when (elt descriptor 3) (setf menu-string (concat menu-string "[" (elt descriptor 0) "]" (elt descriptor 1) " ")))) descriptors) (setf (elt menu-string (- (length menu-string) 1)) ?:) - + ;; Prompt the user, and grab the link (message menu-string) (setq input (read-char-exclusive)) @@ -368,7 +368,7 @@ applications and inserting them in org documents" "set links to {}\n" "copy theResult to the end of links\n" "return links as string\n")))) - (car (split-string result "[\r\n]+" t)))) + (substring (car (split-string result "[\r\n]+" t)) 1 -1))) (defun org-mac-chrome-get-frontmost-url () (interactive) |