changeset 62746:0fe5c8d2cd65

(wdired-change-to-wdired-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 13:24:25 +0000
parents 76921bae4308
children 05708d980e7a
files lisp/wdired.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/wdired.el	Thu May 26 13:21:00 2005 +0000
+++ b/lisp/wdired.el	Thu May 26 13:24:25 2005 +0000
@@ -263,7 +263,7 @@
   (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")))