Next: , Up: Installation   [Contents][Index]


2.1 Emacs-30 or greater

Emacs-30 onwards supports vc-use-package. As such, one may install git-email using something like below:

(use-package git-email :ensure nil :defer t
  :unless noninteractive
  :vc (git-email :url "https://codeberg.org/suhail/git-email.git"
                 :branch "default"
                 :rev :newest
                 :doc "./doc/git-email.texi")
  :init
  (setenv "INFOPATH"
          (concat (file-name-directory (find-library-name "git-email"))
                  ":" (getenv "INFOPATH")))
  (with-eval-after-load 'dired
    (bind-key "M-." #'git-email-send-email)))