feat(org): follow citations on +org/dwim-at-point
As discussed in #5290, pressing RET on citations (or citation references) will now follow them. Ref: #5290
This commit is contained in:
parent
3d28ecf07a
commit
798df6bc9e
1 changed files with 3 additions and 0 deletions
|
@ -150,6 +150,9 @@ If on a:
|
||||||
(setq context (org-element-property :parent context)
|
(setq context (org-element-property :parent context)
|
||||||
type (org-element-type context)))
|
type (org-element-type context)))
|
||||||
(pcase type
|
(pcase type
|
||||||
|
((or `citation `citation-reference)
|
||||||
|
(org-cite-follow context arg))
|
||||||
|
|
||||||
(`headline
|
(`headline
|
||||||
(cond ((memq (bound-and-true-p org-goto-map)
|
(cond ((memq (bound-and-true-p org-goto-map)
|
||||||
(current-active-maps))
|
(current-active-maps))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue