branch: externals/diff-hl commit d20f16bf5eadd66e775f215e800f25caddae8cb5 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Add diff-hl-dired type "cookie" Requested in https://debbugs.gnu.org/61449. --- diff-hl-dired.el | 3 ++- diff-hl.el | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/diff-hl-dired.el b/diff-hl-dired.el index 697d978e0f..06f1d6fab0 100644 --- a/diff-hl-dired.el +++ b/diff-hl-dired.el @@ -1,6 +1,6 @@ ;;; diff-hl-dired.el --- Highlight changed files in Dired -*- lexical-binding: t -*- -;; Copyright (C) 2012-2017 Free Software Foundation, Inc. +;; Copyright (C) 2012-2017, 2023 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -167,6 +167,7 @@ for DIR containing FILES. Call UPDATE-FUNCTION as entries are added." (diff-hl-fringe-face-function 'diff-hl-dired-face-from-type) (o (diff-hl-add-highlighting type 'single))) (overlay-put o 'modification-hooks '(diff-hl-overlay-modified)) + (overlay-put o 'diff-hl-dired-type type) )))))) (defun diff-hl-dired-face-from-type (type _pos) diff --git a/diff-hl.el b/diff-hl.el index 1ce3978f08..cdd831f790 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -1,11 +1,11 @@ ;;; diff-hl.el --- Highlight uncommitted changes using VC -*- lexical-binding: t -*- -;; Copyright (C) 2012-2021 Free Software Foundation, Inc. +;; Copyright (C) 2012-2023 Free Software Foundation, Inc. ;; Author: Dmitry Gutov <dgu...@yandex.ru> ;; URL: https://github.com/dgutov/diff-hl ;; Keywords: vc, diff -;; Version: 1.9.1 +;; Version: 1.9.2 ;; Package-Requires: ((cl-lib "0.2") (emacs "25.1")) ;; This file is part of GNU Emacs.