|
From: | Ramesh Nedunchezian |
Subject: | bug#61449: 30.0.50; diff-hl-dired: Consider adding a cookie to diff-hl-dired overlay |
Date: | Sun, 12 Feb 2023 12:04:09 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
(defvar diff-hl-dired-types (->> (my-get-faces-matching-regexp "^diff-hl-dired-") (--map (->> it symbol-name (replace-regexp-in-string "^diff-hl-dired-" "") intern)) (cons nil)))
I forgot this fragment (defun my-get-faces-matching-regexp (regexp) (cl-loop for sym being the symbols when (facep sym) when (string-match-p regexp (format "%s" sym)) collect sym)) or you can do this (setq diff-hl-dired-types '(nil insert delete unknown ignored change))
[Prev in Thread] | Current Thread | [Next in Thread] |