fix(org): eldoc showing empty heading breadcrumbs
Fix: #6795
Amend: ab9896c526
This commit is contained in:
parent
811c18ca68
commit
46527c0b85
1 changed files with 2 additions and 1 deletions
|
@ -536,7 +536,8 @@ relative to `org-directory', unless it is an absolute path."
|
||||||
(if-let ((type (org-element-property :type context))
|
(if-let ((type (org-element-property :type context))
|
||||||
(eldocfn (org-link-get-parameter type :eldoc)))
|
(eldocfn (org-link-get-parameter type :eldoc)))
|
||||||
(funcall eldocfn context)
|
(funcall eldocfn context)
|
||||||
(format "Link: %s" (org-element-property :raw-link context)))))
|
(when-let (raw-link (org-element-property :raw-link context))
|
||||||
|
(format "Link: %s" raw-link)))))
|
||||||
|
|
||||||
;; Add "lookup" links for packages and keystrings; useful for Emacs
|
;; Add "lookup" links for packages and keystrings; useful for Emacs
|
||||||
;; documentation -- especially Doom's!
|
;; documentation -- especially Doom's!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue