emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit e766c891fe 03/26: Limit a workaround to the Ema


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit e766c891fe 03/26: Limit a workaround to the Emacs versions that need it
Date: Fri, 22 Apr 2022 18:58:13 -0400 (EDT)

branch: elpa/git-commit
commit e766c891fe6a279be9fe75ffe7d109e4b0684855
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Limit a workaround to the Emacs versions that need it
    
    When this kludge was added Emacs 25.1 was still under development
    and it was not clear when the bug would be fixed.  Now we know; it
    was fixed in Emacs 27.1.
---
 lisp/magit-base.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/magit-base.el b/lisp/magit-base.el
index 6add5a0564..d093acb914 100644
--- a/lisp/magit-base.el
+++ b/lisp/magit-base.el
@@ -1036,7 +1036,9 @@ and https://github.com/magit/magit/issues/2295.";
   (and (file-directory-p filename)
        (file-accessible-directory-p filename)))
 
-(when (magit--version>= emacs-version "25.1")
+(when (< emacs-major-version 27)
+  ;; Work around https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21559.
+  ;; Fixed by cb55ccae8be946f1562d74718086a4c8c8308ee5 in Emacs 27.1.
   (with-eval-after-load 'vc-git
     (defun vc-git-conflicted-files (directory)
       "Return the list of files with conflicts in DIRECTORY."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]