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

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

[elpa] externals/diff-hl c59a8b4896 2/3: diff-hl-dired-status-files: Rem


From: ELPA Syncer
Subject: [elpa] externals/diff-hl c59a8b4896 2/3: diff-hl-dired-status-files: Remove the Emacs 24- branch
Date: Mon, 7 Aug 2023 12:57:41 -0400 (EDT)

branch: externals/diff-hl
commit c59a8b4896d632701b6d6664859115e8dfc49e77
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    diff-hl-dired-status-files: Remove the Emacs 24- branch
---
 diff-hl-dired.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/diff-hl-dired.el b/diff-hl-dired.el
index acef7ce94b..84e7e185c0 100644
--- a/diff-hl-dired.el
+++ b/diff-hl-dired.el
@@ -140,9 +140,7 @@ status indicators."
 (defun diff-hl-dired-status-files (backend dir files update-function)
   "Using version control BACKEND, return list of (FILE STATE EXTRA) entries
 for DIR containing FILES. Call UPDATE-FUNCTION as entries are added."
-  (if (version< "25" emacs-version)
-      (vc-call-backend backend 'dir-status-files dir files update-function)
-    (vc-call-backend backend 'dir-status-files dir files nil update-function)))
+  (vc-call-backend backend 'dir-status-files dir files update-function))
 
 (defun diff-hl-dired-highlight-items (alist)
   "Highlight ALIST containing (FILE . TYPE) elements."



reply via email to

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