[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org a20a3ad 08/14: Plug citations into `org-open-at-poi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org a20a3ad 08/14: Plug citations into `org-open-at-point' |
Date: |
Fri, 9 Jul 2021 02:57:18 -0400 (EDT) |
branch: externals/org
commit a20a3ad5f11f85af73c15ac153dd2e945a79df93
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Plug citations into `org-open-at-point'
* lisp/org.el (org-open-at-point): Follow citations and citation
references.
---
lisp/org.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 297e882..9548155 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8955,9 +8955,10 @@ a link."
;; closest one.
(org-element-lineage
(org-element-context)
- '(clock comment comment-block footnote-definition
- footnote-reference headline inline-src-block inlinetask
- keyword link node-property planning src-block timestamp)
+ '(citation citation-reference clock comment comment-block
+ footnote-definition footnote-reference headline
+ inline-src-block inlinetask keyword link node-property
+ planning src-block timestamp)
t))
(type (org-element-type context))
(value (org-element-property :value context)))
@@ -8968,7 +8969,7 @@ a link."
((memq type '(comment comment-block node-property keyword))
(call-interactively #'org-open-at-point-global))
;; On a headline or an inlinetask, but not on a timestamp,
- ;; a link, a footnote reference.
+ ;; a link, a footnote reference or a citation.
((memq type '(headline inlinetask))
(org-match-line org-complex-heading-regexp)
(let ((tags-beg (match-beginning 5))
@@ -9031,6 +9032,7 @@ a link."
((eq type 'inline-src-block) (org-babel-open-src-block-result))
((eq type 'timestamp) (org-follow-timestamp-link))
((eq type 'link) (org-link-open context arg))
+ ((memq type '(citation citation-reference)) (org-cite-follow context
arg))
(t (user-error "No link found")))))
(run-hook-with-args 'org-follow-link-hook))
- [elpa] externals/org updated (fdb98a4 -> 971c135), ELPA Syncer, 2021/07/09
- [elpa] externals/org 622f9fa 01/14: org: Use crm for completing tags, ELPA Syncer, 2021/07/09
- [elpa] externals/org 4c646a6 03/14: ox: Introduce "raw" pseudo objects, ELPA Syncer, 2021/07/09
- [elpa] externals/org e844a6f 05/14: oc: Add Org Cite library, ELPA Syncer, 2021/07/09
- [elpa] externals/org fed07be 02/14: element: Add citation support, ELPA Syncer, 2021/07/09
- [elpa] externals/org a922b17 04/14: faces: Add `org-cite' and `org-cite-key' faces, ELPA Syncer, 2021/07/09
- [elpa] externals/org 4415635 06/14: oc-basic: Implement `basic' citation processor, ELPA Syncer, 2021/07/09
- [elpa] externals/org a20a3ad 08/14: Plug citations into `org-open-at-point',
ELPA Syncer <=
- [elpa] externals/org d6cb37f 12/14: oc-natbib: Implement `natbib' citation processor, ELPA Syncer, 2021/07/09
- [elpa] externals/org 2c2b720 07/14: ox: Plug citations into export process, ELPA Syncer, 2021/07/09
- [elpa] externals/org 524d8fe 09/14: Plug citations into fontification process, ELPA Syncer, 2021/07/09
- [elpa] externals/org ef79a8d 10/14: org-keys: Plug citation insertion, ELPA Syncer, 2021/07/09
- [elpa] externals/org c089c23 11/14: Allow `org-edit-special' to open "bibliography" files, ELPA Syncer, 2021/07/09
- [elpa] externals/org ae5f515 13/14: oc-biblatex: Implement `biblatex' citation processor, ELPA Syncer, 2021/07/09
- [elpa] externals/org 971c135 14/14: oc-csl: Implement `csl' citation processor, ELPA Syncer, 2021/07/09