diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-12-17 09:45:57 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-12-17 09:45:57 +0100 |
| commit | c1a86066e8d20b5b54d4c3df0c044c4b9a99a30e (patch) | |
| tree | 13786cb656a79911a0f8624e6e2f3d3df86b5f6b /lisp/magit-git.el | |
| parent | 139e0fcff35cd0d71328b43ebb265823912a92fd (diff) | |
Depend on Emacs >= 27.1
This version was released more than four years ago and Emacs 30.1 is
around the corner. This is the release available on Debian Bullseye
(oldstable).
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 4ce9063..b396f21 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -1456,8 +1456,6 @@ Git." (defun magit-name-tag (rev &optional lax) (and-let* ((name (magit-rev-name rev "refs/tags/*"))) - ;; The progn is necessary to work around debbugs#31840. This, and all - ;; the other instances, can be removed once we require at least Emacs 27. (progn (when (string-suffix-p "^0" name) (setq name (substring name 0 -2))) @@ -2257,7 +2255,7 @@ If `first-parent' is set, traverse only first parents." (cdr (split-string str)))) (defun magit-patch-id (rev) - (magit--with-connection-local-variables + (with-connection-local-variables (magit--with-temp-process-buffer (magit-process-file shell-file-name nil '(t nil) nil shell-command-switch |
