in case op or anybody else is wondering why i pasted random code, this
will show the link location when cursor is over the link.


On 5/10/18, Samuel Wales <samolog...@gmail.com> wrote:
> (add-hook 'org-mode-hook 'alpha-eldoc-help-echo-mode)
> ;; fixme in elisp we want both link eldoc and elisp eldoc
> (defun hoka-eldoc-help-echo-at-point ()
>   "Eldoc thingy for help-echo text properties."
>   (let ((val (get-text-property (point) 'help-echo)))
>     val))
> (defun alpha-eldoc-help-echo-mode ()
>   "Enable eldoc mode with e.g. org links to display in minibuffer
> when cursor is over them.  Call in the relevant buffer.  M-x
> eldoc-mode to turn off."
>   (interactive)
>   (eval-when-compile (require 'eldoc))
>   (setq-local eldoc-documentation-function 'hoka-eldoc-help-echo-at-point)
>   (eldoc-mode))

Reply via email to