]> code.delx.au - gnu-emacs/commitdiff
(wdired-change-to-wdired-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:24:25 +0000 (13:24 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:24:25 +0000 (13:24 +0000)
lisp/wdired.el

index 3941fd681df561bb0316e32442b7920f28070a8f..a82176af5e8a5b50d2e8f9a8c70ccbb4b565c8e3 100644 (file)
@@ -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")))