Fix an error introduced in 502e538020
, org-make-link was replaced by contact instead of concat as the comment suggested
* org-git-link.el (org-git-create-git-link): Replace contact call by concat * org-bookmark.el (org-bookmark-store-link): Replace contact call by concat TINYCHANGE
This commit is contained in:
parent
7716b9c890
commit
3479cebca6
|
@ -80,7 +80,7 @@ Otherwise prompt the user for the right bookmark to use."
|
|||
(car bmks)
|
||||
(completing-read "Bookmark: " bmks nil t nil nil (car bmks))))))
|
||||
(if bookmark
|
||||
(org-store-link-props :link (contact "bookmark:" bookmark)
|
||||
(org-store-link-props :link (concat "bookmark:" bookmark)
|
||||
:description bookmark))))
|
||||
|
||||
(provide 'org-bookmark)
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
(let* ((gitdir (first (org-git-find-gitdir (file-truename file))))
|
||||
(branchname (org-git-get-current-branch gitdir))
|
||||
(timestring (format-time-string "%Y-%m-%d" (current-time))))
|
||||
(contact "git:" file "::" (org-git-create-searchstring branchname timestring))))
|
||||
(concat "git:" file "::" (org-git-create-searchstring branchname timestring))))
|
||||
|
||||
(defun org-git-store-link ()
|
||||
"Store git link to current file."
|
||||
|
|
Loading…
Reference in New Issue