1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

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

This commit is contained in:
Lute Kamstra 2005-05-26 13:24:25 +00:00
parent caaaa40ef9
commit 24444a7a6e

View 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")))