From ccf71c73d9b7b9c43d3a292f2b35431e6c8ed203 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 26 Nov 2025 03:25:40 +0200 Subject: [PATCH] Revert "diff-hl--update-buffer: Check for liveness" This reverts commit 0574c3247ce50cfce6bf9127ac568684be1e2ada. Break this again to see if the CI build passes. --- diff-hl.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/diff-hl.el b/diff-hl.el index e61c40f4..70e3f7ba 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -645,9 +645,8 @@ contents as they are (or would be) after applying the changes in NEW." (diff-hl--update))) (defun diff-hl--update-buffer (buf) - (when (buffer-live-p buf) - (with-current-buffer buf - (diff-hl-update)))) + (with-current-buffer buf + (diff-hl-update))) (defun diff-hl-with-editor-p (_dir) (bound-and-true-p with-editor-mode))