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

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

[elpa] externals/dired-preview 1d3befd70c 20/67: Make sure to unset dela


From: ELPA Syncer
Subject: [elpa] externals/dired-preview 1d3befd70c 20/67: Make sure to unset delayed-mode-hooks after they are ran
Date: Sat, 8 Jul 2023 15:57:52 -0400 (EDT)

branch: externals/dired-preview
commit 1d3befd70c8d4308ca7c57995358af14329ca35a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make sure to unset delayed-mode-hooks after they are ran
---
 dired-preview.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dired-preview.el b/dired-preview.el
index 6e918e95dc..2f693f3421 100644
--- a/dired-preview.el
+++ b/dired-preview.el
@@ -139,6 +139,7 @@ is used."
   (when (and delay-mode-hooks (current-buffer))
     (apply #'run-hooks (delete-dups delayed-mode-hooks))
     (set-window-parameter (selected-window) 'dired-preview-window nil)
+    (kill-local-variable 'delayed-mode-hooks)
     (remove-hook 'post-command-hook #'dired-preview--run-mode-hooks :local)))
 
 (defun dired-preview--add-to-previews (file)



reply via email to

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