mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
org: fix +org/dwim-at-point on subscript/superscript elements
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user