branch: elpa/helm
commit 24d6d9264689b7cb9fcedecde50c8f6eb5751538
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
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