mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
tweak(org): have doom links use path for info
This commit is contained in:
@@ -542,11 +542,10 @@ relative to `org-directory', unless it is an absolute path."
|
||||
;; Add "lookup" links for packages and keystrings; useful for Emacs
|
||||
;; documentation -- especially Doom's!
|
||||
(letf! ((defun -call-interactively (fn)
|
||||
(lambda (link)
|
||||
(let ((desc (+org-link-read-desc-at-point link)))
|
||||
(funcall
|
||||
fn (or (intern-soft desc)
|
||||
(user-error "Can't find documentation for %S" desc))))))
|
||||
(lambda (path _prefixarg)
|
||||
(funcall
|
||||
fn (or (intern-soft path)
|
||||
(user-error "Can't find documentation for %S" path)))))
|
||||
(defun -eldoc-fn (label face)
|
||||
(lambda (context)
|
||||
(format "%s %s"
|
||||
|
Reference in New Issue
Block a user