summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-05-26 13:24:25 +0000
committerLute Kamstra <lute@gnu.org>2005-05-26 13:24:25 +0000
commit24444a7a6e0576341d1a48425f83c53ee8c697f6 (patch)
treee0756c0359e605bfa6978913def07899cec763bf /lisp
parentcaaaa40ef94ac38d2c1b0d2b24e0d42edab25781 (diff)
downloademacs-24444a7a6e0576341d1a48425f83c53ee8c697f6.tar.gz
(wdired-change-to-wdired-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/wdired.el2
1 files changed, 1 insertions, 1 deletions
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")))