org: fix +org/dwim-at-point on subscript/superscript elements
This commit is contained in:
parent
06b14a5722
commit
eaa677bd94
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ If on a:
|
||||||
(context (org-element-context))
|
(context (org-element-context))
|
||||||
(type (org-element-type context)))
|
(type (org-element-type context)))
|
||||||
;; skip over unimportant contexts
|
;; skip over unimportant contexts
|
||||||
(while (and context (memq type '(verbatim code bold italic underline strike-through)))
|
(while (and context (memq type '(verbatim code bold italic underline strike-through subscript superscript)))
|
||||||
(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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue