comparison lisp/wdired.el @ 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 496c7a7bdacc
children 6fb026ad601f
comparison
equal deleted inserted replaced
62745:76921bae4308 62746:0fe5c8d2cd65
261 (if (and wdired-allow-to-redirect-links (fboundp 'make-symbolic-link)) 261 (if (and wdired-allow-to-redirect-links (fboundp 'make-symbolic-link))
262 (wdired-preprocess-symlinks)) 262 (wdired-preprocess-symlinks))
263 (buffer-enable-undo) ; Performance hack. See above. 263 (buffer-enable-undo) ; Performance hack. See above.
264 (set-buffer-modified-p nil) 264 (set-buffer-modified-p nil)
265 (setq buffer-undo-list nil) 265 (setq buffer-undo-list nil)
266 (run-hooks 'wdired-mode-hook) 266 (run-mode-hooks 'wdired-mode-hook)
267 (message (substitute-command-keys "Press \\[wdired-finish-edit] when finished \ 267 (message (substitute-command-keys "Press \\[wdired-finish-edit] when finished \
268 or \\[wdired-abort-changes] to abort changes"))) 268 or \\[wdired-abort-changes] to abort changes")))
269 269
270 270
271 ;; Protect the buffer so only the filenames can be changed, and put 271 ;; Protect the buffer so only the filenames can be changed, and put