[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 24d6d92646 3/3: Fix wdired advice for emacs-28+
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 24d6d92646 3/3: Fix wdired advice for emacs-28+ |
Date: |
Tue, 3 May 2022 02:58:36 -0400 (EDT) |
branch: elpa/helm
commit 24d6d9264689b7cb9fcedecde50c8f6eb5751538
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix wdired advice for emacs-28+
wdired-old-marks has been removed in emacs-28+.
---
helm-lib.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/helm-lib.el b/helm-lib.el
index e3e9211d2a..591067a037 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -198,6 +198,9 @@ available APPEND is ignored."
(defun helm--advice-wdired-finish-edit ()
(interactive)
(wdired-change-to-dired-mode)
+ ;; `wdired-old-marks' has been removed in emacs-28+.
+ (unless (boundp 'wdired-old-marks)
+ (setq-local wdired-old-marks nil))
(let ((changes nil)
(errors 0)
files-deleted