From: Lute Kamstra Date: Thu, 26 May 2005 13:24:25 +0000 (+0000) Subject: (wdired-change-to-wdired-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9542 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24444a7a6e0576341d1a48425f83c53ee8c697f6;p=emacs.git (wdired-change-to-wdired-mode): Use run-mode-hooks. --- 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")))