diff options
| author | Lars Hansen | 2004-05-05 08:01:53 +0000 |
|---|---|---|
| committer | Lars Hansen | 2004-05-05 08:01:53 +0000 |
| commit | 2a93ca78ea40fabbc03269cf15f8d96b36599ea8 (patch) | |
| tree | 11c60c86b4bc92e715d8a53e9929797ad25eb012 | |
| parent | 9a9069c994f46f125c0d5fc1e0056ea24c80d1a0 (diff) | |
| download | emacs-2a93ca78ea40fabbc03269cf15f8d96b36599ea8.tar.gz emacs-2a93ca78ea40fabbc03269cf15f8d96b36599ea8.zip | |
(wdired-change-to-wdired-mode): Quote wdired-mode-hook in run-hooks.
Use substitute-command-keys in message.
(wdired-abort-changes): Add message.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/wdired.el | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e91f9a3574..740cdeaa03e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-05-05 Lars Hansen <larsh@math.ku.dk> | ||
| 2 | |||
| 3 | * wdired.el (wdired-change-to-wdired-mode): Quote wdired-mode-hook | ||
| 4 | in run-hooks. Use substitute-command-keys in message. | ||
| 5 | (wdired-abort-changes): Add message. | ||
| 6 | |||
| 1 | 2004-05-03 Michael Mauger <mmaug@yahoo.com> | 7 | 2004-05-03 Michael Mauger <mmaug@yahoo.com> |
| 2 | 8 | ||
| 3 | * emacs/lisp/progmodes/sql.el (sql-xemacs-p, sql-emacs19-p) | 9 | * emacs/lisp/progmodes/sql.el (sql-xemacs-p, sql-emacs19-p) |
diff --git a/lisp/wdired.el b/lisp/wdired.el index a8c36c2066f..30ba2a3cd45 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el | |||
| @@ -329,8 +329,8 @@ See `wdired-mode'." | |||
| 329 | (buffer-enable-undo) ; Performance hack. See above. | 329 | (buffer-enable-undo) ; Performance hack. See above. |
| 330 | (set-buffer-modified-p nil) | 330 | (set-buffer-modified-p nil) |
| 331 | (setq buffer-undo-list nil) | 331 | (setq buffer-undo-list nil) |
| 332 | (run-hooks wdired-mode-hook) | 332 | (run-hooks 'wdired-mode-hook) |
| 333 | (message "Press C-c C-c when finished")) | 333 | (message (substitute-command-keys "Press \\[wdired-finish-edit] when finished"))) |
| 334 | 334 | ||
| 335 | 335 | ||
| 336 | ;; Protect the buffer so only the filenames can be changed, and put | 336 | ;; Protect the buffer so only the filenames can be changed, and put |
| @@ -416,7 +416,8 @@ non-nil means return old filename." | |||
| 416 | (insert wdired-old-content)) | 416 | (insert wdired-old-content)) |
| 417 | (wdired-change-to-dired-mode) | 417 | (wdired-change-to-dired-mode) |
| 418 | (set-buffer-modified-p nil) | 418 | (set-buffer-modified-p nil) |
| 419 | (setq buffer-undo-list nil)) | 419 | (setq buffer-undo-list nil) |
| 420 | (message "Changes aborted")) | ||
| 420 | 421 | ||
| 421 | (defun wdired-finish-edit () | 422 | (defun wdired-finish-edit () |
| 422 | "Actually rename files based on your editing in the Dired buffer." | 423 | "Actually rename files based on your editing in the Dired buffer." |