Personal website Rudolf Adamkovič

Home / Notmuch / Show


My link handling

Open links at point with RET.

(with-eval-after-load 'notmuch
  (defun my-notmuch-show-browse-url-or-toggle-message ()
    (interactive)
    (if (thing-at-point 'url)
        (goto-address-at-point)
      (notmuch-show-toggle-message))))
(with-eval-after-load 'notmuch
  (keymap-set notmuch-show-mode-map
              "RET"
              #'my-notmuch-show-browse-url-or-toggle-message))

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.