From 24444a7a6e0576341d1a48425f83c53ee8c697f6 Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 26 May 2005 13:24:25 +0000 Subject: [PATCH] (wdired-change-to-wdired-mode): Use run-mode-hooks. --- lisp/wdired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/wdired.el b/lisp/wdired.el index 3941fd681df..a82176af5e8 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -263,7 +263,7 @@ See `wdired-mode'." (buffer-enable-undo) ; Performance hack. See above. (set-buffer-modified-p nil) (setq buffer-undo-list nil) - (run-hooks 'wdired-mode-hook) + (run-mode-hooks 'wdired-mode-hook) (message (substitute-command-keys "Press \\[wdired-finish-edit] when finished \ or \\[wdired-abort-changes] to abort changes"))) -- 2.39.2