Function: ghostel-line-mode-send-or-open-link

ghostel-line-mode-send-or-open-link is an interactive and natively compiled function defined in ghostel-line-mode.el.

Signature

(ghostel-line-mode-send-or-open-link)

Documentation

Follow the link at point, or send the current line-mode input.

Key Bindings

ghostel-line-mode-map <return> ghostel-line-mode-map RET

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel-line-mode-send-or-open-link ()
  "Follow the link at point, or send the current line-mode input."
  (interactive)
  (let ((url (ghostel--uri-at-pos (point))))
    (if url
        (ghostel--open-link url)
      (ghostel-line-mode-send))))