Commit 24444a7a authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(wdired-change-to-wdired-mode): Use run-mode-hooks.

parent caaaa40e
......@@ -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")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment